mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-22 08:07:54 +00:00
Add a pair button to the UI. Fix the hardcoded MAC address string. Pass the device model in the pairing request.
This commit is contained in:
1 parent
1454ade3d2
commit
e50f668aaf
5 files changed
+113
-18
No files matched your search
@@ -7,29 +7,31 @@
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context=".Connection" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/pairButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/statusButton"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="Pair with PC"/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/hostTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="60dp"
|
||||
android:ems="10"
|
||||
android:hint="255.255.255.255"
|
||||
android:textSize="50dp" >
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
android:hint="IP address of GeForce PC" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/statusButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/editText1"
|
||||
android:layout_below="@+id/hostTextView"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="131dp"
|
||||
android:text="Start Streaming Steam!"
|
||||
android:textSize="50dp" />
|
||||
android:text="Start Streaming Steam!" />
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in new issue
Block a user