<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
<com.basic.security.widget.NonFocusingScrollView
|
android:id="@+id/scrollView"
|
android:layout_width="match_parent"
|
android:layout_marginRight="@dimen/h20"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:scrollbarAlwaysDrawVerticalTrack="true"
|
android:scrollbars="vertical"
|
android:fadeScrollbars="false"
|
android:layout_marginTop="@dimen/h22">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20"
|
android:orientation="horizontal">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w20"
|
android:background="@drawable/bule_circle" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="基本信息"
|
android:textColor="@color/press_setting_text_color"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
<!--注册模式标题-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h64"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="选择设备模式"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
<!--注册模式-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<RadioGroup
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w54"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/setting_register_rb_admin"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:checked="true"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="人工注册"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.RadioButton1
|
android:visibility="gone"
|
android:id="@+id/auto_mode"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w45"
|
android:button="@null"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="自助注册"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/pass_mode"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w45"
|
android:button="@null"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="通行模式"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/visitor_mode"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w45"
|
android:button="@null"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="访客模式"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</RadioGroup>
|
</LinearLayout>
|
<!--自助注册模式-->
|
<LinearLayout
|
android:id="@+id/ll_register_self"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/h14"
|
android:layout_marginTop="@dimen/h29"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w54"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/auto_normal_verify"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:checked="true"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="普通验证"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/auto_normal_verify_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="手机号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/auto_normal_verify_idcard"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="身份证号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/auto_normal_verify_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="姓名"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w54"
|
android:layout_marginTop="@dimen/h29"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/auto_idcard_verify"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="身份证验证"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/auto_idcard_verify_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="手机号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
</LinearLayout>
|
<!--管理员授权注册模式-->
|
<LinearLayout
|
android:id="@+id/setting_ll_admin"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/h14"
|
android:layout_marginTop="@dimen/h29"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w54"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/admin_normal_verify"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:checked="true"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="普通验证"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/admin_normal_verify_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="手机号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/admin_normal_verify_idcard"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="身份证号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/admin_normal_verify_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="姓名"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w54"
|
android:layout_marginTop="@dimen/h29"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/admin_idcard_verify"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/radiobutton"
|
android:text="身份证验证"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/admin_idcard_verify_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text="手机号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
</LinearLayout>
|
<!-- 通行模式/ 访客模式-->
|
<RelativeLayout
|
android:id="@+id/setting_rl_pass_visitor_model"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h80"
|
android:layout_marginLeft="@dimen/h14"
|
android:visibility="gone">
|
|
<TextView
|
android:id="@+id/setting_tv_massage"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:layout_marginLeft="@dimen/w15"
|
android:textColor="#7CF5F3"
|
android:textSize="@dimen/h21"
|
android:textStyle="bold" />
|
</RelativeLayout>
|
|
<LinearLayout
|
android:id="@+id/auto_sign_up_identity"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="@dimen/w37"
|
android:layout_marginLeft="@dimen/w54"
|
android:layout_marginTop="@dimen/h29"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:visibility="visible">
|
|
<ImageView
|
android:id="@+id/name_need"
|
android:layout_width="@dimen/w20"
|
android:layout_height="@dimen/h20"
|
android:layout_marginLeft="@dimen/w16"
|
android:scaleType="centerInside"
|
android:src="@drawable/star_icon" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="选择默认规则"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<RelativeLayout
|
android:layout_width="@dimen/w150"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w25"
|
android:background="@drawable/identity_list_background2"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.CustomSpinner
|
android:id="@+id/spinner_check_identity"
|
android:layout_width="@dimen/w150"
|
android:layout_height="@dimen/h45"
|
android:background="@drawable/spinner_arrow_down"
|
android:dropDownSelector="@color/transparent"
|
android:paddingBottom="2dp"
|
android:paddingTop="2dp"
|
android:spinnerMode="dropdown" />
|
<ImageView
|
android:layout_width="@dimen/w13"
|
android:layout_height="@dimen/h10"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="@dimen/w17"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!-- 设备规则-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="选择设备配置"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<RelativeLayout
|
android:layout_width="@dimen/w150"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="@dimen/w150"
|
android:layout_height="@dimen/h47"
|
android:background="@drawable/identity_list_background2"
|
android:gravity="center_vertical"
|
android:paddingLeft="@dimen/w10"
|
android:text=""
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h21"
|
android:visibility="visible" />
|
|
<com.basic.security.widget.CustomSpinner
|
android:id="@+id/pass_mode_pinner"
|
android:layout_width="@dimen/w150"
|
android:layout_height="@dimen/h47"
|
android:background="@drawable/spinner_arrow_down"
|
android:dropDownSelector="@color/transparent"
|
android:dropDownWidth="@dimen/w150"
|
android:spinnerMode="dropdown" />
|
<ImageView
|
android:layout_width="@dimen/w13"
|
android:layout_height="@dimen/h10"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="@dimen/w17"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_confirm_pass_show"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h80"
|
android:layout_marginLeft="@dimen/w60"
|
android:gravity="center_vertical"
|
android:visibility="gone">
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/relation_person"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text=" 关联人"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/relation_device"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text=" 关联设备"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:layout_marginLeft="@dimen/w60"
|
android:gravity="center_vertical">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="室内设备ID "
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/indoor_device_id"
|
android:layout_width="@dimen/w300"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w24"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@drawable/bg_edittext1"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:layout_marginLeft="@dimen/w60"
|
android:gravity="center_vertical">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="室内设备IP "
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/indoor_device_ip"
|
android:layout_width="@dimen/w300"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w24"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@drawable/bg_edittext1"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="默认管理员登录后"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
|
<EditText
|
android:id="@+id/login_expire_long"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="10"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="分钟退出"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--无操作时-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="无操作情况"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/back_to_home"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="100"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="秒回到首页"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--开门时长-->
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="开门时长"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/open_door_duration"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="10"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="秒"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
|
|
<!--设置多张图片轮播-->
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/reboot_hour_enable"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text=" 每天重启"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="重启时间:"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<RelativeLayout
|
android:layout_width="@dimen/w100"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w25"
|
android:background="@drawable/identity_list_background2"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.CustomSpinner
|
android:id="@+id/reboot_hour"
|
android:layout_width="@dimen/w100"
|
android:layout_height="@dimen/h47"
|
android:background="@drawable/spinner_arrow_down"
|
android:dropDownSelector="@color/transparent"
|
android:dropDownWidth="@dimen/w100"
|
android:paddingBottom="2dp"
|
android:paddingTop="2dp"
|
android:spinnerMode="dropdown" />
|
<ImageView
|
android:layout_width="@dimen/w13"
|
android:layout_height="@dimen/h10"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="@dimen/w17"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="点"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
|
</LinearLayout>
|
|
<View
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
|
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h59"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/open_door_password_enable"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text=" 密码开门"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="密码:"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/open_door_password"
|
android:layout_width="@dimen/w300"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w24"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@drawable/bg_edittext1"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h21" />
|
|
|
</LinearLayout>
|
|
<View
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--设置多张图片轮播-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/image_play_interval"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text=" 设置图片"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/image_play_time"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="10"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="秒轮播"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!-- 允许多张脸校验-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<com.basic.security.widget.CheckBox1
|
android:id="@+id/detect_multiple_face"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:button="@null"
|
android:drawableLeft="@drawable/check_box_selector"
|
android:text=" 允许多张人脸同时校验"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--人脸占屏幕比-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="人脸占屏幕比"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/setting_face_et_pro_one"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="4"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text=":"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/setting_face_et_pro_two"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="10"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--人脸角度-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="人脸角度"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/face_angle"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="15"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="度"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--无人脸延时-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="无人脸延时"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/no_face_delay"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="15"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="秒"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!--选择设备摄像头-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:visibility="gone">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="选择设备摄像头"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text=""
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w1"
|
android:layout_marginLeft="@dimen/w60"
|
android:layout_marginRight="@dimen/w60"
|
android:background="@color/setting_line" />
|
<!-- 设备照片旋转角度-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/w105"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:visibility="gone">
|
|
<View
|
android:layout_width="@dimen/w5"
|
android:layout_height="@dimen/h22"
|
android:layout_marginLeft="@dimen/w60"
|
android:background="@color/after_fount" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="设备照片旋转角度"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<EditText
|
android:id="@+id/picture_rotation_angle"
|
android:layout_width="@dimen/w64"
|
android:layout_height="@dimen/h47"
|
android:layout_marginLeft="@dimen/w21"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:inputType="number"
|
android:singleLine="true"
|
android:text="15"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="度"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
|
|
<View
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
</com.basic.security.widget.NonFocusingScrollView>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h55"
|
android:layout_marginBottom="@dimen/h20"
|
android:layout_marginTop="@dimen/h20"
|
android:gravity="center_horizontal">
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/setting_btn_save"
|
android:layout_width="@dimen/w155"
|
android:layout_height="@dimen/h55"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:layout_marginRight="@dimen/w25"
|
android:background="@drawable/blue_button"
|
android:text="保存"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/open_system_setting"
|
android:layout_width="@dimen/w186"
|
android:layout_height="@dimen/h55"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w25"
|
android:background="@drawable/blue_button"
|
android:text="打开系统设置"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h21" />
|
</LinearLayout>
|
</LinearLayout>
|
<RelativeLayout
|
android:id="@+id/list_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="#834e4e4e"
|
android:visibility="gone">
|
|
<ListView
|
android:id="@+id/identityRecycleList"
|
android:layout_width="@dimen/w200"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:background="@color/black"></ListView>
|
</RelativeLayout>
|
</RelativeLayout>
|