<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:background="@color/colorPrimary"
|
>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="实时监控"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="10dp"
|
android:layout_marginTop="10dp"
|
/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="人脸识别访客系统"
|
android:gravity="center"
|
android:layout_centerInParent="true"
|
/>
|
|
</RelativeLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="350dp"
|
android:orientation="horizontal"
|
android:paddingLeft="2dp"
|
android:paddingRight="2dp">
|
<RelativeLayout
|
android:layout_width="@dimen/view_size_0"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
>
|
<VideoView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/fragment_supervisory_enter_camera" />
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_50"
|
android:layout_alignParentBottom="true"
|
android:background="#40000000">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textSize="@dimen/text_size_normal"
|
android:textColor="@android:color/white"
|
android:layout_marginLeft="16dp"
|
android:text="2016年12月5日 17:03:42分"/>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textSize="@dimen/text_size_normal"
|
android:textColor="@android:color/white"
|
android:layout_alignParentRight="true"
|
android:background="@drawable/surface_info_bcg"
|
android:text="摄像机进"
|
android:layout_marginRight="12dp"/>
|
</RelativeLayout>
|
</RelativeLayout>
|
<RelativeLayout
|
android:layout_width="@dimen/view_size_0"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:layout_marginLeft="2dp"
|
>
|
<VideoView
|
android:id="@+id/fragment_supervisory_exit_camera"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"/>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_50"
|
android:layout_alignParentBottom="true"
|
android:background="#40000000">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textSize="@dimen/text_size_normal"
|
android:textColor="@android:color/white"
|
android:layout_marginLeft="16dp"
|
android:text="2016年12月5日 17:03:42分"/>
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textSize="@dimen/text_size_normal"
|
android:textColor="@android:color/white"
|
android:layout_alignParentRight="true"
|
android:background="@drawable/surface_info_bcg"
|
android:text="摄像机出"
|
android:layout_marginRight="12dp"/>
|
</RelativeLayout>
|
</RelativeLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="4dp"
|
android:paddingRight="4dp"
|
android:orientation="horizontal">
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent">
|
<RadioGroup
|
android:layout_width="64dp"
|
android:layout_height="match_parent"
|
android:id="@+id/fragment_supervisory_bottom_left_radio_group">
|
|
<RadioButton
|
android:id="@+id/fragment_supervisory_bottom_visitor_radio_button"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_0"
|
android:layout_weight="1"
|
android:textColor="@color/colorPrimary"
|
android:textSize="@dimen/text_size_big"
|
android:button="@null"
|
android:gravity="center"
|
android:checked="true"
|
android:background="@drawable/one_bottom_tab_bcg"
|
android:text="访客"/>
|
|
<RadioButton
|
android:id="@+id/fragment_supervisory_bottom_attendance_radio_button"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_0"
|
android:layout_weight="1"
|
android:button="@null"
|
android:gravity="center"
|
android:textColor="@color/colorPrimary"
|
android:textSize="@dimen/text_size_big"
|
android:background="@drawable/one_bottom_tab_bcg"
|
android:text="考勤"/>
|
</RadioGroup>
|
<LinearLayout
|
android:layout_width="5dp"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<View
|
android:id="@+id/fragment_supervisory_bottom_visitor_background"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_0"
|
android:layout_weight="1"
|
android:background="@color/colorPrimary"/>
|
|
<View
|
android:id="@+id/fragment_supervisory_bottom_attendance_background"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/view_size_0"
|
android:layout_weight="1"
|
android:background="@color/colorPrimary"
|
android:visibility="invisible"/>
|
</LinearLayout>
|
</RelativeLayout>
|
<RelativeLayout
|
android:id="@+id/one_bottom_list"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@android:color/white">
|
<cn.com.basic.face.widget.SupervisoryBottomListView
|
android:id="@+id/fragment_supervisory_bottom_visit_list_view"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:orientation="vertical"/>
|
|
<cn.com.basic.face.widget.SupervisoryBottomListView
|
android:id="@+id/fragment_supervisory_bottom_attendance_list_view"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:visibility="gone"
|
android:background="@android:color/white"
|
android:orientation="horizontal"/>
|
</RelativeLayout>
|
</LinearLayout>
|
</LinearLayout>
|