<?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"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="horizontal">
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:layout_weight="1"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginRight="@dimen/w20"
|
android:layout_marginTop="@dimen/h20"
|
android:orientation="horizontal">
|
|
<ImageView
|
android:id="@+id/camera1"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_gravity="center_horizontal"
|
android:scaleType="fitCenter" />
|
</RelativeLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h141"
|
android:orientation="horizontal">
|
<GridView
|
android:id="@+id/guest_list_one"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w10"
|
android:layout_marginRight="@dimen/w10"
|
android:layout_marginTop="@dimen/h15"
|
android:layout_weight="1"
|
android:listSelector="@color/transparent"
|
android:numColumns="6"
|
android:paddingBottom="@dimen/h25"
|
android:verticalSpacing="@dimen/w12" />
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h141"
|
android:orientation="horizontal">
|
<GridView
|
android:id="@+id/guest_list_two"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_marginLeft="@dimen/w10"
|
android:layout_marginRight="@dimen/w10"
|
android:layout_marginTop="@dimen/h15"
|
android:layout_weight="1"
|
android:listSelector="@color/transparent"
|
android:numColumns="6"
|
android:paddingBottom="@dimen/h25"
|
android:verticalSpacing="@dimen/w12" />
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<ImageView
|
android:id="@+id/guest_picture"
|
android:layout_width="@dimen/w68"
|
android:layout_height="@dimen/h82"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginBottom="@dimen/h12"
|
android:scaleType="centerCrop"
|
android:src="@drawable/nobody" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30">
|
|
<LinearLayout
|
android:id="@+id/guest_name_parent"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:gravity="center_horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="姓 名"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<EditText
|
android:visibility="visible"
|
android:id="@+id/guest_name"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1"
|
android:inputType="text"
|
android:maxLength="6"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
<TextView
|
android:text="xuxiuxi"
|
android:gravity="center_vertical"
|
android:visibility="gone"
|
android:id="@+id/guest_name_text"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:inputType="text"
|
android:maxLength="6"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<ImageView
|
android:layout_width="@dimen/sw20"
|
android:layout_height="@dimen/sw20"
|
android:layout_centerVertical="true"
|
android:layout_toLeftOf="@+id/guest_name_parent"
|
android:scaleType="centerInside"
|
android:src="@drawable/star_icon"
|
android:visibility="visible" />
|
</RelativeLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="身份证号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<EditText
|
android:id="@+id/guest_id_card"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1"
|
android:inputType="text"
|
android:maxLength="18"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:visibility="gone"
|
android:id="@+id/guest_id_card_text"
|
android:gravity="center_vertical"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:inputType="text"
|
android:singleLine="true"
|
android:text="360424198508124233"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="手 机 号"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<EditText
|
android:id="@+id/guest_phone"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w17"
|
android:background="@drawable/bg_edittext1"
|
android:inputType="number"
|
android:maxLength="11"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="注册方式"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/guest_sign_up_method"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w15"
|
android:gravity="center_vertical"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:gravity="center_vertical"
|
android:text="注册时间"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/guest_sign_up_time"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w15"
|
android:gravity="center_vertical"
|
android:text="aaa"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:visibility="gone">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="注册规则"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<RelativeLayout
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.CustomSpinner
|
android:id="@+id/guest_sign_up_rule"
|
android:layout_width="@dimen/w175"
|
android:layout_height="@dimen/h23"
|
android:background="@drawable/spinner_arrow_down1"
|
android:dropDownSelector="@color/transparent"
|
android:dropDownWidth="@dimen/w190"
|
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/w12"
|
android:scaleType="centerInside"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<RelativeLayout
|
android:id="@+id/guest_respondent_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30">
|
|
<LinearLayout
|
android:id="@+id/guest_respondent_row1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="被 访 人"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/guest_respondent"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w15"
|
android:enabled="false"
|
android:gravity="center_vertical"
|
android:inputType="text"
|
android:singleLine="true"
|
android:text="请在右侧选择被访人"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#4BA6AD"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<ImageView
|
android:layout_width="@dimen/sw20"
|
android:layout_height="@dimen/sw20"
|
android:layout_centerVertical="true"
|
android:layout_toLeftOf="@+id/guest_respondent_row1"
|
android:scaleType="centerInside"
|
android:src="@drawable/star_icon"
|
android:visibility="visible" />
|
</RelativeLayout>
|
|
|
<LinearLayout
|
android:id="@+id/guest_reason_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="拜访事由"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<EditText
|
android:id="@+id/guest_reason"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1"
|
android:inputType="text"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/guest_remark_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center"
|
android:visibility="gone">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="备 注"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<EditText
|
android:id="@+id/guest_remark"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1"
|
android:inputType="text"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/guest_visit_time_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:gravity="center_vertical"
|
android:text="访问时间"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/guest_visit_time"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w15"
|
android:gravity="center_vertical"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/guest_visit_status_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="访问状态"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<RelativeLayout
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.CustomSpinner
|
android:id="@+id/guest_visit_status"
|
android:layout_width="@dimen/w175"
|
android:layout_height="@dimen/h23"
|
android:background="@drawable/spinner_arrow_down1"
|
android:dropDownSelector="@color/transparent"
|
android:dropDownWidth="@dimen/w190"
|
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/w12"
|
android:scaleType="centerInside"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
|
<RelativeLayout
|
android:id="@+id/guest_visit_valid_time_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30">
|
|
<LinearLayout
|
android:id="@+id/guest_visit_valid_time_row1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:gravity="center_horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="有效时间"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<FrameLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1">
|
|
<TextView
|
android:id="@+id/guest_visit_valid_time"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:gravity="center_vertical"
|
android:paddingLeft="@dimen/w15"
|
android:paddingRight="@dimen/w16"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h12" />
|
</FrameLayout>
|
|
<TextView
|
android:layout_width="@dimen/w40"
|
android:layout_height="@dimen/h23"
|
android:layout_gravity="center_vertical"
|
android:gravity="center"
|
android:text="小时"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12"
|
android:visibility="gone" />
|
|
<TextView
|
android:id="@+id/minus"
|
android:layout_width="@dimen/w23"
|
android:layout_height="@dimen/h23"
|
android:background="@drawable/minus"
|
android:visibility="gone" />
|
|
<TextView
|
android:id="@+id/plus"
|
android:layout_width="@dimen/w23"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w14"
|
android:background="@drawable/plus"
|
android:visibility="gone" />
|
</LinearLayout>
|
|
<ImageView
|
android:layout_width="@dimen/sw20"
|
android:layout_height="@dimen/sw20"
|
android:layout_centerVertical="true"
|
android:layout_toLeftOf="@+id/guest_visit_valid_time_row1"
|
android:scaleType="centerInside"
|
android:src="@drawable/star_icon"
|
android:visibility="visible" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/guest_exit_time_row"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:layout_marginBottom="@dimen/h7"
|
android:gravity="center_horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="离开时间"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<FrameLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:background="@drawable/bg_edittext1">
|
|
<TextView
|
android:id="@+id/guest_exit_time"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:gravity="center_vertical"
|
android:paddingLeft="@dimen/w15"
|
android:paddingRight="@dimen/w16"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h12" />
|
</FrameLayout>
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/guest_exit_time_clear"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginBottom="@dimen/h7"
|
android:layout_marginTop="@dimen/h7"
|
android:text="清空"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0.1dp"
|
android:layout_marginLeft="@dimen/w25"
|
android:layout_marginRight="@dimen/w15"
|
android:background="@color/colorBlue"
|
android:visibility="gone" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h20"
|
android:layout_marginTop="@dimen/h10"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w25"
|
android:layout_weight="1"
|
android:text="身份:"
|
android:textColor="#D4FCFA"
|
android:textSize="@dimen/h13" />
|
|
<com.basic.security.widget.hlistview.HListView
|
android:id="@+id/guest_identity"
|
android:layout_width="0dp"
|
android:layout_height="@dimen/h55"
|
android:layout_gravity="center"
|
android:layout_weight="4" />
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/next"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:scaleType="centerInside"
|
android:src="@drawable/arrow" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h20"
|
android:layout_marginTop="@dimen/h10"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w25"
|
android:layout_weight="1"
|
android:text="注册:"
|
android:textColor="#D4FCFA"
|
android:textSize="@dimen/h13" />
|
|
<RadioGroup
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="5"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/guest_all_device"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:button="@null"
|
android:drawableLeft="@drawable/radiobutton"
|
android:paddingLeft="@dimen/w4"
|
android:text="集群全部设备"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h13" />
|
|
<com.basic.security.widget.RadioButton1
|
android:id="@+id/guest_this_device"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w25"
|
android:button="@null"
|
android:checked="true"
|
android:drawableLeft="@drawable/radiobutton"
|
android:paddingLeft="@dimen/w4"
|
android:text="当前设备"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h13" />
|
</RadioGroup>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h14"
|
android:gravity="center_horizontal"
|
android:orientation="horizontal">
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/guest_save"
|
android:layout_width="@dimen/w99"
|
android:layout_height="@dimen/h29"
|
android:background="@drawable/blue_button"
|
android:text="保存"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h13" />
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/guest_delete"
|
android:layout_width="@dimen/w99"
|
android:layout_height="@dimen/h29"
|
android:layout_marginLeft="@dimen/w25"
|
android:background="@drawable/gray_button"
|
android:text="删除"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h13" />
|
</LinearLayout>
|
<!--========-->
|
</LinearLayout>
|
|
<ImageView
|
android:layout_width="@dimen/w20"
|
android:layout_height="match_parent" />
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h475"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h12"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical|center_horizontal"
|
android:text="选择被访人 "
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<RelativeLayout
|
android:id="@+id/respondent_org_rl"
|
android:layout_width="@dimen/w250"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:layout_width="@dimen/w250"
|
android:layout_height="@dimen/h23"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/selected_org"
|
android:layout_width="@dimen/w250"
|
android:layout_height="@dimen/h23"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center_vertical"
|
android:paddingLeft="@dimen/w15"
|
android:text="全部"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h12" />
|
</LinearLayout>
|
|
|
<ImageView
|
android:layout_width="@dimen/w13"
|
android:layout_height="@dimen/h10"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="@dimen/w12"
|
android:scaleType="centerInside"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h450">
|
|
<GridView
|
android:id="@+id/respondent_list"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h435"
|
android:layout_marginLeft="@dimen/w10"
|
android:layout_marginRight="@dimen/w10"
|
android:layout_marginTop="@dimen/h15"
|
android:listSelector="@color/transparent"
|
android:numColumns="3"
|
android:paddingBottom="@dimen/h25"
|
android:verticalSpacing="@dimen/w12" />
|
|
<RelativeLayout
|
android:id="@+id/rl_show_organization"
|
android:layout_width="@dimen/w250"
|
android:layout_height="@dimen/h450"
|
android:layout_alignParentRight="true"
|
android:layout_marginRight="@dimen/w7"
|
android:background="#235563"
|
android:visibility="gone">
|
|
<TextView
|
android:id="@+id/tv_all"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h30"
|
android:layout_gravity="center_vertical"
|
android:text="组织机构"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12"
|
android:visibility="gone" />
|
|
<ListView
|
android:id="@+id/respondent_org"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h395"
|
android:layout_below="@+id/tv_all"
|
android:divider="@null"
|
android:listSelector="@color/transparent" />
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/cancel"
|
android:layout_width="@dimen/w99"
|
android:layout_height="@dimen/h29"
|
android:background="@drawable/blue_button"
|
android:text="取消"
|
android:textColor="@color/colorWhite"
|
android:layout_below="@+id/respondent_org"
|
android:layout_alignParentRight="true"
|
android:layout_marginBottom="@dimen/w15"
|
android:layout_marginRight="@dimen/w15"
|
android:textSize="@dimen/h13" />
|
<TextView
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:layout_below="@+id/respondent_org"
|
android:layout_gravity="center"
|
android:layout_marginBottom="@dimen/w15"
|
android:gravity="right"
|
android:paddingRight="@dimen/w15"
|
android:text="取消"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h12" />
|
</RelativeLayout>
|
</RelativeLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="center">
|
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center">
|
|
<ImageView
|
android:id="@+id/respondent_picture"
|
android:layout_width="@dimen/w68"
|
android:layout_height="@dimen/h82"
|
android:layout_centerVertical="true"
|
android:background="@drawable/nobody"
|
android:scaleType="centerCrop" />
|
|
<TextView
|
android:id="@+id/text_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/respondent_picture"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_toRightOf="@+id/respondent_picture"
|
android:text="姓 名:"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/respondent_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/respondent_picture"
|
android:layout_toRightOf="@+id/text_name"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/text_identity"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/text_name"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginTop="@dimen/h5"
|
android:layout_toRightOf="@+id/respondent_picture"
|
android:text="身 份:"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/respondent_identity"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/text_identity"
|
android:layout_toRightOf="@+id/text_name"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/text_department"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/text_identity"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginTop="@dimen/h5"
|
android:layout_toRightOf="@+id/respondent_picture"
|
android:text="部 门:"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/respondent_department"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/text_department"
|
android:layout_toRightOf="@+id/text_department"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/text_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignBottom="@id/respondent_picture"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginTop="@dimen/h6"
|
android:layout_toRightOf="@+id/respondent_picture"
|
android:text="手机号:"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
|
<TextView
|
android:id="@+id/respondent_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/text_phone"
|
android:layout_toRightOf="@+id/text_phone"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h12" />
|
</RelativeLayout>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
</RelativeLayout>
|