<?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="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h267"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginRight="@dimen/w20"
|
android:layout_marginTop="@dimen/h25"
|
android:orientation="horizontal">
|
|
|
<FrameLayout
|
android:id="@+id/fl_image_part_one"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_image_one"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/black"
|
android:scaleType="centerCrop" />
|
|
<TextView
|
android:id="@+id/tv_image_one_name_top"
|
android:layout_width="@dimen/w85"
|
android:layout_height="@dimen/h39"
|
android:layout_margin="@dimen/h11"
|
android:background="@drawable/bg_time_rule_add"
|
android:gravity="center"
|
android:text="设备1"
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_13" />
|
</FrameLayout>
|
|
<ImageView
|
android:id="@+id/iv_space"
|
android:layout_width="@dimen/w30"
|
android:layout_height="match_parent" />
|
|
<FrameLayout
|
android:id="@+id/fl_image_part_two"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_image_two"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/black"
|
android:scaleType="centerCrop" />
|
|
|
<TextView
|
android:id="@+id/tv_image_two_name_top"
|
android:layout_width="@dimen/w85"
|
android:layout_height="@dimen/h39"
|
android:layout_margin="@dimen/h11"
|
android:background="@drawable/bg_time_rule_add"
|
android:gravity="center"
|
android:text="教学楼"
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_13" />
|
|
</FrameLayout>
|
|
|
</LinearLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:id="@+id/ll_top_image"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h128"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginRight="@dimen/w20"
|
android:layout_marginTop="@dimen/h15"
|
android:background="@color/black"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h18">
|
|
<TextView
|
android:id="@+id/tv_image_one_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w8"
|
android:text="设备1"
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_13" />
|
|
<LinearLayout
|
android:id="@+id/ll_image_one_check_identity"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="身份"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_10" />
|
|
<ImageView
|
android:layout_width="@dimen/h18"
|
android:layout_height="@dimen/h20"
|
android:layout_gravity="center_vertical"
|
android:paddingLeft="@dimen/h6"
|
android:paddingRight="@dimen/h6"
|
android:src="@drawable/pulldown" />
|
</LinearLayout>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w8"
|
android:text="已选: "
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_10" />
|
|
<TextView
|
android:id="@+id/tv_checked_identity"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="全部"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_10" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h110"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_image_one_left"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:scaleType="centerInside"
|
android:src="@drawable/arrow_left" />
|
</RelativeLayout>
|
|
<com.basic.security.widget.hlistview.HListView
|
android:id="@+id/hlv_image_one"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_gravity="center"
|
android:layout_weight="18"
|
android:listSelector="@color/transparent" />
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_image_one_right"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:scaleType="centerInside"
|
android:src="@drawable/arrow" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h128"
|
android:layout_below="@+id/ll_top_image"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginRight="@dimen/w20"
|
android:layout_marginTop="@dimen/h15"
|
android:background="@color/black"
|
android:orientation="vertical">
|
<!--只有一路设备时,下边显示人员身份的选择-->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h18">
|
|
<TextView
|
android:id="@+id/tv_image_two_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w8"
|
android:text="设备1"
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_13" />
|
|
<LinearLayout
|
android:id="@+id/ll_image_only_one_check_identity"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="身份"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_10" />
|
|
<ImageView
|
android:layout_width="@dimen/h18"
|
android:layout_height="@dimen/h20"
|
android:layout_gravity="center_vertical"
|
android:paddingLeft="@dimen/h6"
|
android:paddingRight="@dimen/h6"
|
android:src="@drawable/pulldown" />
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/tv_text_checked"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w8"
|
android:text="已选: "
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_10" />
|
|
<TextView
|
android:id="@+id/tv_checked_identity_only_one"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w15"
|
android:text="全部"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_10" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h110"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_image_two_left"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:scaleType="centerInside"
|
android:src="@drawable/arrow_left" />
|
</RelativeLayout>
|
|
<com.basic.security.widget.hlistview.HListView
|
android:id="@+id/hlv_image_two"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_gravity="center"
|
android:layout_weight="18"
|
android:listSelector="@color/transparent" />
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_image_two_right"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:scaleType="centerInside"
|
android:src="@drawable/arrow" />
|
</RelativeLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_temp_person_check_identity"
|
android:layout_width="@dimen/w400"
|
android:layout_height="@dimen/h230"
|
android:layout_marginLeft="@dimen/w70"
|
android:layout_marginTop="@dimen/h40"
|
android:background="#235563"
|
android:orientation="vertical"
|
android:visibility="gone">
|
<GridView
|
android:id="@+id/gv_temp_person"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h180"
|
android:numColumns="2">
|
</GridView>
|
<Button
|
android:id="@+id/temporary_person_identity_ok"
|
style="@style/setting_button"
|
android:paddingBottom="@dimen/h8"
|
android:paddingLeft="@dimen/w25"
|
android:paddingRight="@dimen/w25"
|
android:paddingTop="@dimen/h8"
|
android:text="确定" />
|
</LinearLayout>
|
|
|
</RelativeLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h540"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginRight="@dimen/w20"
|
android:layout_marginTop="@dimen/h50">
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:background="@color/black"
|
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_marginTop="@dimen/h12"
|
android:scaleType="centerCrop"
|
android:src="@drawable/u228" />
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h310"
|
android:layout_marginLeft="@dimen/w26"
|
android:layout_marginRight="@dimen/w15">
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_name"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:inputType="text"
|
android:maxLength="6"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_id_card"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:inputType="text"
|
android:maxLength="18"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_phone"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w17"
|
android:inputType="number"
|
android:maxLength="11"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_signup_method"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:enabled="false"
|
android:inputType="text"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h40">
|
|
<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/font_size_12" />
|
|
<TextView
|
android:id="@+id/guest_signup_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w15"
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_12" />
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<LinearLayout
|
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_signup_rule"
|
android:layout_width="@dimen/w175"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w10"
|
android:background="@drawable/spinner_arrow_down"
|
android:dropDownSelector="@color/transparent"
|
android:paddingBottom="2dp"
|
android:paddingTop="2dp"
|
android:spinnerMode="dropdown" />
|
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_respondent"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w17"
|
android:inputType="text"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_reason"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:inputType="text"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h7">
|
|
<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/font_size_12" />
|
|
<EditText
|
android:id="@+id/guest_remark"
|
style="@style/editText2"
|
android:layout_width="@dimen/w190"
|
android:layout_height="@dimen/h23"
|
android:layout_marginLeft="@dimen/w15"
|
android:inputType="text"
|
android:paddingLeft="@dimen/w15"
|
android:singleLine="true"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h40">
|
|
<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/font_size_12" />
|
|
<TextView
|
android:id="@+id/guest_visit_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w15"
|
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_12" />
|
</LinearLayout>
|
|
|
</LinearLayout>
|
</ScrollView>
|
|
<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" />
|
|
<!--========-->
|
<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/font_size_13" />
|
|
|
<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">
|
|
</com.basic.security.widget.hlistview.HListView>
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_weight="1">
|
|
<ImageView
|
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/font_size_13" />
|
|
<RadioGroup
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="5"
|
android:orientation="horizontal">
|
|
<RadioButton
|
android:id="@+id/guest_all_device"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:button="@drawable/radiobutton"
|
android:text="集群全部设备"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_13" />
|
|
<RadioButton
|
android:id="@+id/guest_this_device"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w25"
|
android:button="@drawable/radiobutton"
|
android:checked="true"
|
android:text="当前设备"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_13" />
|
|
</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">
|
|
<Button
|
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/font_size_13" />
|
|
<Button
|
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/font_size_13" />
|
|
</LinearLayout>
|
<!--========-->
|
</LinearLayout>
|
|
<ImageView
|
android:layout_width="@dimen/w30"
|
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/h375"
|
android:background="@color/black"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h12">
|
<RelativeLayout
|
android:id="@+id/respondent_org_rl"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/selected_org"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="@dimen/w10"
|
android:layout_marginRight="@dimen/w10"
|
android:background="@drawable/bg_edittext1"
|
android:gravity="center_vertical"
|
android:paddingLeft="@dimen/w35"
|
android:text="全部"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_22" />
|
|
<ImageView
|
android:layout_width="@dimen/h15"
|
android:layout_height="@dimen/h25"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="@dimen/w17"
|
android:src="@drawable/pulldown" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h370">
|
|
<GridView
|
android:id="@+id/respondent_list"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h370"
|
android:listSelector="@color/transparent"
|
android:numColumns="3"
|
android:verticalSpacing="@dimen/w27" />
|
|
<RelativeLayout
|
android:id="@+id/rl_show_organization"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h370"
|
android:layout_marginLeft="@dimen/w10"
|
android:layout_marginRight="@dimen/w10"
|
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/font_size_12"
|
android:visibility="gone"
|
/>
|
|
<ListView
|
android:id="@+id/respondent_org"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h295"
|
android:layout_below="@+id/tv_all"
|
android:divider="@null"
|
android:listSelector="@color/transparent">
|
</ListView>
|
<TextView
|
android:layout_below="@+id/respondent_org"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h30"
|
android:layout_gravity="center"
|
android:paddingRight="@dimen/w15"
|
android:gravity="right"
|
android:text="取消"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/font_size_22"
|
android:layout_marginBottom="@dimen/w15"
|
/>
|
</RelativeLayout>
|
|
</RelativeLayout>
|
</LinearLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h150"
|
android:layout_marginTop="@dimen/h15"
|
android:background="@color/black">
|
|
<ImageView
|
android:id="@+id/respondent_picture"
|
android:layout_width="@dimen/w68"
|
android:layout_height="@dimen/h82"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="@dimen/w31"
|
android:background="@drawable/u228"
|
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/font_size_12" />
|
|
<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/font_size_12" />
|
|
|
<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/font_size_12" />
|
|
<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/font_size_12" />
|
|
<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/font_size_12" />
|
|
<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/font_size_12" />
|
|
<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/font_size_12" />
|
|
<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/font_size_12" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
<!-- 只有一路视频时-->
|
<FrameLayout
|
android:id="@+id/fl_image_only_one"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h433"
|
android:layout_marginLeft="@dimen/w20"
|
android:layout_marginRight="@dimen/w20">
|
|
<ImageView
|
android:id="@+id/iv_image_only_one"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/black"
|
android:scaleType="centerCrop" />
|
|
<TextView
|
android:id="@+id/tv_image_only_one_name_top"
|
android:layout_width="@dimen/w85"
|
android:layout_height="@dimen/h39"
|
android:layout_margin="@dimen/h11"
|
android:background="@drawable/bg_time_rule_add"
|
android:gravity="center"
|
android:text="设备1"
|
android:textColor="@color/white"
|
android:textSize="@dimen/font_size_13" />
|
</FrameLayout>
|
|
</RelativeLayout>
|