| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@android:color/white"
- android:orientation="vertical"
- tools:context=".MainActivity">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="20dp"
- android:visibility="gone"
- android:text="@string/label_server_ip"
- android:textAppearance="@android:style/TextAppearance" />
- <EditText
- android:id="@+id/editText_server_host"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:hint="192.168.43.1"
- android:visibility="gone"
- android:maxLength="15"
- android:ems="7"
- android:inputType="text"
- android:minHeight="48dp"
- tools:ignore="LabelFor,SpeakableTextPresentCheck"
- android:importantForAutofill="no" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="20dp"
- android:text="远程设备端端口:"
- android:textAppearance="@android:style/TextAppearance" />
- <EditText
- android:id="@+id/editText_server_port"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:hint="15555"
- android:maxLength="7"
- android:ems="7"
- android:inputType="text"
- android:minHeight="48dp"
- tools:ignore="LabelFor,SpeakableTextPresentCheck"
- android:importantForAutofill="no" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:text="@string/label_video_resolution"
- android:textAppearance="@android:style/TextAppearance" />
- <Spinner
- android:id="@+id/spinner_video_resolution"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/options_resolution_keys"
- android:minHeight="48dp"
- tools:ignore="DuplicateSpeakableTextCheck" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:text="@string/label_video_bitrate"
- android:textAppearance="@android:style/TextAppearance" />
- <Spinner
- android:id="@+id/spinner_video_bitrate"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:entries="@array/options_bitrate_keys"
- android:minHeight="48dp" />
- </LinearLayout>
- <LinearLayout
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:orientation="horizontal">
- <Switch
- android:id="@+id/switch0"
- android:layout_width="0dp"
- android:layout_height="48dp"
- android:layout_weight="1"
- android:text="@string/switch0"
- android:textSize="15sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:orientation="horizontal">
- <Switch
- android:id="@+id/switch1"
- android:layout_width="0dp"
- android:layout_height="48dp"
- android:layout_weight="1"
- android:text="@string/switch1"
- android:textSize="15sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="40dp"
- android:orientation="horizontal">
- <Button
- android:id="@+id/button_start"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/action_start"
- android:textSize="30sp" />
- </LinearLayout>
- <View android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="恺恩公司郑重声明:仅允许恺恩公司员工使用此软件调试本公司的硬件产品。它用后果自负。"/>
- <TextView
- android:id="@+id/app_ver_right"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:layout_gravity="center_horizontal"
- android:text="V1\n湖南恺恩 版权所有"/>
- </LinearLayout>
|