| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | <RelativeLayout |
| | | xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:orientation="vertical"> |
| | | |
| | | |
| | | > |
| | | <LinearLayout |
| | | android:layout_centerInParent="true" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/h19" |
| | | android:focusable="true" |
| | | android:focusableInTouchMode="true" |
| | | android:orientation="vertical"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="本机IP:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/ip_address" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:enabled="false" |
| | | android:hint="请输入本机ip" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="本机子网掩码:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/subnet_mask" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:enabled="false" |
| | | android:hint="请输入子网掩码" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="本机网关:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/gateway" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:hint="请输入网关" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:enabled="false" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="无人脸延时:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <FrameLayout |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24"> |
| | | |
| | | <EditText |
| | | android:id="@+id/no_face_time" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:hint="10" |
| | | android:inputType="number" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center|right" |
| | | android:layout_marginRight="@dimen/w12" |
| | | android:text="秒" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </FrameLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="设备名称:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/device_name" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:hint="请设置名称" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="设备地址:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <FrameLayout |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24"> |
| | | |
| | | <EditText |
| | | android:id="@+id/device_address" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:hint="请输入地址" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | </FrameLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="数据库IP:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/database_ip" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:hint="请输入数据库ip" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="设备ID :" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/device_id" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="开门时间:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <!--<EditText--> |
| | | <!--android:id="@+id/open_door_time"--> |
| | | <!--style="@style/editText2"--> |
| | | <!--android:layout_width="@dimen/w271"--> |
| | | <!--android:inputType="number"--> |
| | | <!--android:layout_height="@dimen/h50"--> |
| | | <!--android:layout_gravity="center"--> |
| | | <!--android:layout_marginLeft="@dimen/w24"--> |
| | | <!--android:paddingLeft="@dimen/w15"--> |
| | | <!--android:textColor="@color/colorWhite"--> |
| | | <!--android:textSize="@dimen/font_size_21" />--> |
| | | <FrameLayout |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24"> |
| | | |
| | | <EditText |
| | | android:id="@+id/open_door_time" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:text="5" |
| | | android:inputType="number" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center|right" |
| | | android:layout_marginRight="@dimen/w12" |
| | | android:text="秒" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </FrameLayout> |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | <View |
| | | android:layout_width="@dimen/w657" |
| | | android:layout_height="@dimen/h1" |
| | | android:layout_marginBottom="@dimen/h20" |
| | | android:layout_marginTop="@dimen/h20" |
| | | android:background="#083d4f" |
| | | android:visibility="gone" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="345" |
| | | android:orientation="vertical"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="用户名:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/account" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:text="admin" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87" |
| | | android:visibility="invisible"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="密 码:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/password" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:inputType="textPassword" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:text="xxx" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/h41" |
| | | android:orientation="horizontal"> |
| | | android:focusable="true" |
| | | android:focusableInTouchMode="true" |
| | | android:orientation="vertical"> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="right"> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <Button |
| | | android:id="@+id/save_device" |
| | | android:layout_width="@dimen/w155" |
| | | android:layout_height="@dimen/h60" |
| | | android:layout_marginRight="@dimen/w25" |
| | | android:background="@drawable/blue_button" |
| | | android:gravity="center" |
| | | android:text="保存设备" |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="本机IP:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_25" /> |
| | | </RelativeLayout> |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="left"> |
| | | |
| | | <Button |
| | | android:id="@+id/cancel" |
| | | android:layout_width="@dimen/w155" |
| | | android:layout_height="@dimen/h60" |
| | | android:layout_marginLeft="@dimen/w25" |
| | | android:background="@drawable/blue_button" |
| | | android:gravity="center" |
| | | android:text="取消" |
| | | <EditText |
| | | android:id="@+id/ip_address" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:enabled="false" |
| | | android:hint="请输入本机ip" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_25" /> |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | </RelativeLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="本机子网掩码:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/subnet_mask" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:enabled="false" |
| | | android:hint="请输入子网掩码" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="本机网关:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/gateway" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:enabled="false" |
| | | android:hint="请输入网关" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="无人脸延时:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <FrameLayout |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24"> |
| | | |
| | | <EditText |
| | | android:id="@+id/no_face_time" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:hint="10" |
| | | android:inputType="number" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center|right" |
| | | android:layout_marginRight="@dimen/w12" |
| | | android:text="秒" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </FrameLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="设备名称:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/device_name" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:hint="请设置名称" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="设备地址:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <FrameLayout |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24"> |
| | | |
| | | <EditText |
| | | android:id="@+id/device_address" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:hint="请输入地址" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | </FrameLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="数据库IP:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/database_ip" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:hint="请输入数据库ip" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="设备ID :" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/device_id" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="开门时间:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <!--<EditText--> |
| | | <!--android:id="@+id/open_door_time"--> |
| | | <!--style="@style/editText2"--> |
| | | <!--android:layout_width="@dimen/w271"--> |
| | | <!--android:inputType="number"--> |
| | | <!--android:layout_height="@dimen/h50"--> |
| | | <!--android:layout_gravity="center"--> |
| | | <!--android:layout_marginLeft="@dimen/w24"--> |
| | | <!--android:paddingLeft="@dimen/w15"--> |
| | | <!--android:textColor="@color/colorWhite"--> |
| | | <!--android:textSize="@dimen/font_size_21" />--> |
| | | <FrameLayout |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24"> |
| | | |
| | | <EditText |
| | | android:id="@+id/open_door_time" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:inputType="number" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:text="5" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center|right" |
| | | android:layout_marginRight="@dimen/w12" |
| | | android:text="秒" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </FrameLayout> |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | <View |
| | | android:layout_width="@dimen/w657" |
| | | android:layout_height="@dimen/h1" |
| | | android:layout_marginBottom="@dimen/h20" |
| | | android:layout_marginTop="@dimen/h20" |
| | | android:background="#083d4f" |
| | | android:visibility="gone" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="345" |
| | | android:orientation="vertical"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="用户名:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/account" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:text="admin" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/h87"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w312" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w9" |
| | | android:gravity="right" |
| | | android:text="版本:" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/version" |
| | | style="@style/editText2" |
| | | android:layout_width="@dimen/w271" |
| | | android:layout_height="@dimen/h50" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w24" |
| | | android:enabled="false" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:text="" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_21" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/h65" |
| | | android:orientation="horizontal"> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="right"> |
| | | |
| | | <Button |
| | | android:id="@+id/save_device" |
| | | android:layout_width="@dimen/w155" |
| | | android:layout_height="@dimen/h60" |
| | | android:layout_marginRight="@dimen/w25" |
| | | android:background="@drawable/blue_button" |
| | | android:gravity="center" |
| | | android:text="保存设备" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_25" /> |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | android:gravity="left"> |
| | | |
| | | <Button |
| | | android:id="@+id/cancel" |
| | | android:layout_width="@dimen/w155" |
| | | android:layout_height="@dimen/h60" |
| | | android:layout_marginLeft="@dimen/w25" |
| | | android:background="@drawable/blue_button" |
| | | android:gravity="center" |
| | | android:text="取消" |
| | | android:textColor="@color/colorWhite" |
| | | android:textSize="@dimen/font_size_25" /> |
| | | |
| | | </RelativeLayout> |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | </LinearLayout> |
| | | </RelativeLayout> |