|
@@ -0,0 +1,253 @@
|
|
|
+<?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:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ tools:targetApi="lollipop">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="时区"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/EditTimeZone"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="IP地址"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/EditIPAddress"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="比对阈值"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="服务器地址"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="子网掩码"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="活体阈值"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="服务器端口"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="网关"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="人脸像素"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginVertical="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="校时间隔"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="Web端口"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ style="@style/StyleTextContent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="比对次数"
|
|
|
+ />
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ style="@style/StyleInputContent"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/TextButtonSure"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ style="@style/ButtonPrimary"
|
|
|
+
|
|
|
+ android:layout_marginHorizontal="100dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:textAlignment="center"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:text="提交"
|
|
|
+ />
|
|
|
+</LinearLayout>
|