mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 20:13:06 +00:00
116 lines
4.2 KiB
XML
116 lines
4.2 KiB
XML
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
tools:context=".Connection" >
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<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:ems="10"
|
|
android:singleLine="true"
|
|
android:inputType="textNoSuggestions"
|
|
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/hostTextView"
|
|
android:layout_centerHorizontal="true"
|
|
android:text="Start Streaming Steam!" >
|
|
|
|
<requestFocus />
|
|
|
|
</Button>
|
|
|
|
<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" />
|
|
|
|
<RadioGroup
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_below="@+id/streamConfigGroup"
|
|
android:layout_marginTop="25dp"
|
|
android:orientation="vertical" >
|
|
|
|
<RadioButton
|
|
android:id="@+id/softwareDec"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Force Software Decoding" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/autoDec"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Auto-select Decoder (Recommended)" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/hardwareDec"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Force Hardware Decoding" />
|
|
</RadioGroup>
|
|
|
|
<RadioGroup
|
|
android:id="@+id/streamConfigGroup"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_below="@+id/pairButton"
|
|
android:layout_marginTop="25dp"
|
|
android:orientation="vertical" >
|
|
|
|
<RadioButton
|
|
android:id="@+id/config720p30Selected"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="720p 30 FPS (Only recommended for poor devices or networks)" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/config720p60Selected"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="720p 60 FPS (Recommended for most devices and networks)" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/config1080p30Selected"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="1080p 30 FPS (Recommended for most devices if 1080p streaming is desired)" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/config1080p60Selected"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="1080p 60 FPS (Requires extremely fast device and network)" />
|
|
</RadioGroup>
|
|
|
|
</RelativeLayout>
|
|
|
|
</ScrollView>
|