初始化框架,完成扫描回调,语音接口
This commit is contained in:
92
app/src/main/res/layout/activity_setting_network.xml
Normal file
92
app/src/main/res/layout/activity_setting_network.xml
Normal file
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:stretchColumns="0,3"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/table">
|
||||
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="服务器地址:" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="150dp"
|
||||
android:id="@+id/address"
|
||||
android:singleLine="true"
|
||||
android:hint="ip地址或者域名地址" />
|
||||
|
||||
<TextView />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="服务器端口:" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="150dp"
|
||||
android:id="@+id/port"
|
||||
android:singleLine="true"
|
||||
android:hint="介于1024-65535之间的数字" />
|
||||
|
||||
<TextView />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="访问子路径:" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="150dp"
|
||||
android:id="@+id/path"
|
||||
android:singleLine="true"
|
||||
android:hint="服务器子路径" />
|
||||
|
||||
<TextView />
|
||||
</TableRow>
|
||||
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView />
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/save"
|
||||
android:text="保 存" />
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/cancel"
|
||||
android:layout_marginLeft="10px"
|
||||
android:text="取 消" />
|
||||
|
||||
<TextView />
|
||||
</TableRow>
|
||||
|
||||
|
||||
</TableLayout>
|
||||
Reference in New Issue
Block a user