<?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">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87">
|
|
<TextView
|
android:layout_width="@dimen/w212"
|
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/et_no_register_message"
|
style="@style/editText2"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h50"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w24"
|
android:layout_marginRight="@dimen/w60"
|
android:gravity="center"
|
android:hint="请注册"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_21" />
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
<!--允许通行-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
style="@style/setting_text"
|
android:layout_marginLeft="@dimen/w80"
|
android:text="允许通行:" />
|
|
<CheckBox
|
android:id="@+id/ck_access_identity"
|
style="@style/setting_checkbox"
|
android:text="身份 + " />
|
|
<CheckBox
|
android:id="@+id/ck_access_name"
|
style="@style/setting_checkbox"
|
android:layout_marginLeft="@dimen/w1"
|
android:text="姓名 + " />
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<EditText
|
android:id="@+id/et_access_hint"
|
style="@style/editText2"
|
android:layout_width="@dimen/w250"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w1"
|
android:hint="请通行"
|
android:paddingLeft="@dimen/w15"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_21" />
|
|
<ImageView
|
android:id="@+id/iv_access_hint_check"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignRight="@+id/et_access_hint"
|
android:layout_centerVertical="true"
|
android:src="@drawable/more_message"
|
android:paddingRight="@dimen/w10"
|
android:paddingTop="@dimen/h20"
|
android:paddingBottom="@dimen/h20"/>
|
|
</RelativeLayout>
|
|
|
<ImageView
|
android:id="@+id/iv_access_hint_show"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w16"
|
android:background="@drawable/watch"
|
android:gravity="center"/>
|
|
|
</LinearLayout>
|
<!--未到达通行时间-->
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
style="@style/setting_text"
|
android:layout_marginLeft="@dimen/w40"
|
android:text="未到通行时间:" />
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<EditText
|
android:id="@+id/et_not_reached_time_hint"
|
style="@style/editText2"
|
android:layout_width="@dimen/w440"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w1"
|
android:hint="未到通行时间,请稍等"
|
android:paddingLeft="@dimen/w15"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_21" />
|
|
<ImageView
|
android:id="@+id/iv_not_reached_time_check"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignRight="@+id/et_not_reached_time_hint"
|
android:layout_centerVertical="true"
|
android:src="@drawable/more_message"
|
android:paddingRight="@dimen/w10"
|
android:paddingTop="@dimen/h20"
|
android:paddingBottom="@dimen/h20"/>
|
|
</RelativeLayout>
|
|
|
<ImageView
|
android:id="@+id/iv_not_reached_time_show"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w16"
|
android:background="@drawable/watch"
|
android:gravity="center"/>
|
|
|
</LinearLayout>
|
<!--设置开始时间前提示-->
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
style="@style/setting_text"
|
android:layout_marginLeft="@dimen/w270"
|
android:text="开始时间前" />
|
|
<EditText
|
android:id="@+id/et_not_reached_time_remind"
|
style="@style/edit_text"
|
android:gravity="center"
|
android:text="10"
|
android:inputType="number"/>
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/identity_list_background"
|
android:gravity="center"
|
android:orientation="horizontal">
|
<Spinner
|
android:id="@+id/time_unit"
|
android:layout_width="@dimen/w100"
|
android:layout_height="@dimen/h45"
|
android:background="@drawable/spinner_arrow_down"
|
android:spinnerMode="dropdown">
|
</Spinner>
|
</LinearLayout>
|
<TextView
|
style="@style/setting_text"
|
android:text="进行提示" />
|
|
|
</LinearLayout>
|
<!--确认通行-->
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
style="@style/setting_text"
|
android:layout_marginLeft="@dimen/w80"
|
android:text="确认通行:" />
|
|
<CheckBox
|
android:id="@+id/ck_confirm_pass_identity"
|
style="@style/setting_checkbox"
|
android:text="身份 + " />
|
|
<CheckBox
|
android:id="@+id/ck_confirm_pass_name"
|
style="@style/setting_checkbox"
|
android:layout_marginLeft="@dimen/w1"
|
android:text="姓名 + " />
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<EditText
|
android:id="@+id/et_confirm_pass_hint"
|
style="@style/editText2"
|
android:layout_width="@dimen/w250"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w1"
|
android:hint="请通行"
|
android:paddingLeft="@dimen/w15"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_21" />
|
|
<ImageView
|
android:id="@+id/iv_confirm_pass_check"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignRight="@+id/et_confirm_pass_hint"
|
android:layout_centerVertical="true"
|
android:src="@drawable/more_message"
|
android:paddingRight="@dimen/w10"
|
android:paddingTop="@dimen/h20"
|
android:paddingBottom="@dimen/h20"/>
|
|
</RelativeLayout>
|
|
|
<ImageView
|
android:id="@+id/iv_confirm_pass_show"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w16"
|
android:background="@drawable/watch"
|
android:gravity="center"/>
|
|
|
</LinearLayout>
|
<!--拒绝通行-->
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h87"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
style="@style/setting_text"
|
android:layout_marginLeft="@dimen/w80"
|
android:text="拒绝通行:" />
|
|
<CheckBox
|
android:id="@+id/ck_refuse_pass_identity"
|
style="@style/setting_checkbox"
|
android:text="身份 + " />
|
|
<CheckBox
|
android:id="@+id/ck_refuse_pass_name"
|
style="@style/setting_checkbox"
|
android:layout_marginLeft="@dimen/w1"
|
android:text="姓名 + " />
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<EditText
|
android:id="@+id/et_refuse_pass_hint"
|
style="@style/editText2"
|
android:layout_width="@dimen/w250"
|
android:layout_height="@dimen/h50"
|
android:layout_marginLeft="@dimen/w1"
|
android:hint="请通行"
|
android:paddingLeft="@dimen/w15"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_21" />
|
|
<ImageView
|
android:id="@+id/iv_refuse_pass_check"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignRight="@+id/et_refuse_pass_hint"
|
android:layout_centerVertical="true"
|
android:src="@drawable/more_message"
|
android:paddingRight="@dimen/w10"
|
android:paddingTop="@dimen/h20"
|
android:paddingBottom="@dimen/h20"/>
|
|
</RelativeLayout>
|
|
|
<ImageView
|
android:id="@+id/iv_refuse_pass_show"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w16"
|
android:background="@drawable/watch"
|
android:gravity="center" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
<!--<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<Button
|
android:id="@+id/btn_pass_hint_save"
|
android:layout_width="@dimen/w155"
|
android:layout_height="@dimen/h55"
|
android:layout_alignParentBottom="true"
|
android:layout_marginBottom="@dimen/h50"
|
android:layout_marginLeft="@dimen/w210"
|
android:background="@drawable/blue_button"
|
android:text="保存"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_25" />
|
|
<Button
|
android:id="@+id/btn_pass_hint_cancel"
|
android:layout_width="@dimen/w155"
|
android:layout_height="@dimen/h55"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentRight="true"
|
android:layout_marginBottom="@dimen/h50"
|
android:layout_marginRight="@dimen/w210"
|
android:background="@drawable/gray_button"
|
android:text="取消"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_25" />
|
|
</RelativeLayout>-->
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_weight="1" />
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="@dimen/w60"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="right">
|
|
<Button
|
android:id="@+id/btn_pass_hint_save"
|
android:layout_width="@dimen/w155"
|
android:layout_height="@dimen/h55"
|
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/btn_pass_hint_cancel"
|
android:layout_width="@dimen/w155"
|
android:layout_height="@dimen/h55"
|
android:layout_marginLeft="@dimen/w25"
|
android:background="@drawable/gray_button"
|
android:gravity="center"
|
android:text="取消"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_25" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:id="@+id/rl_check_hint"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="#50111111">
|
|
<RelativeLayout
|
android:layout_width="@dimen/w500"
|
android:layout_height="@dimen/h300"
|
android:layout_centerInParent="true"
|
android:background="@drawable/identity_list_background">
|
|
<GridView
|
android:id="@+id/gv_hint"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h200"
|
android:numColumns="2">
|
|
</GridView>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h80"
|
android:layout_alignParentBottom="true">
|
|
<Button
|
android:id="@+id/btn_check_message_save"
|
android:layout_width="@dimen/w100"
|
android:layout_height="@dimen/h45"
|
android:layout_alignParentBottom="true"
|
android:layout_marginBottom="@dimen/h15"
|
android:layout_marginLeft="@dimen/w100"
|
android:background="@drawable/blue_button"
|
android:text="保存"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_25" />
|
|
<Button
|
android:id="@+id/btn_check_message_cancel"
|
android:layout_width="@dimen/w100"
|
android:layout_height="@dimen/h45"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentRight="true"
|
android:layout_marginBottom="@dimen/h15"
|
android:layout_marginRight="@dimen/w100"
|
android:background="@drawable/blue_button"
|
android:text="取消"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_25" />
|
|
</RelativeLayout>
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|