|
@@ -0,0 +1,286 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@mipmap/bg_app"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <com.sunwin.visitorapp.view.UINav
|
|
|
+ android:id="@+id/UINav"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="40dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="40dp"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:background="@drawable/card_white"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="10dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="姓名"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:padding="2dp"
|
|
|
+ android:id="@+id/et_idNum"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/bg_input"
|
|
|
+ android:hint="姓名身份证手机号"
|
|
|
+ android:minWidth="240dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="进出类别"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/sp_in_out"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/bg_input"
|
|
|
+ android:entries="@array/inOutArray"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="通行时间"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_start_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="2dp"
|
|
|
+ android:background="@drawable/bg_input"
|
|
|
+ android:entries="@array/inOutArray"
|
|
|
+ android:gravity="center"
|
|
|
+ android:minWidth="120dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:text="至"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_end_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@drawable/bg_input"
|
|
|
+ android:entries="@array/inOutArray"
|
|
|
+ android:gravity="center"
|
|
|
+ android:minWidth="120dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="通行区域"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/sp_dept"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:entries="@array/inOutArray"
|
|
|
+ android:gravity="center"
|
|
|
+ android:background="@drawable/bg_input"
|
|
|
+ android:minWidth="120dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_search"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/purple_500"
|
|
|
+ android:drawableLeft="@drawable/ic_baseline_search_24"
|
|
|
+ android:text="查询"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="5dp"
|
|
|
+ android:background="#dedede" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:layout_marginBottom="7dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_name"
|
|
|
+ android:layout_weight="1.5"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="姓名"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_idNum"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="身份证"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_tel"
|
|
|
+
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="手机号码"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_in_out"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="进出类别"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_visit_time"
|
|
|
+ android:layout_weight="1.5"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="通行时间"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_dept"
|
|
|
+ android:layout_weight="1.5"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="通行区域"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_yuyue"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:text="预约状态"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_shenhe"
|
|
|
+ android:layout_weight="1.5"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:text="审核状态"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/sp_20" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.liaoinstan.springview.widget.SpringView
|
|
|
+ android:id="@+id/springView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <ListView
|
|
|
+ android:id="@+id/lv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent" />
|
|
|
+ </com.liaoinstan.springview.widget.SpringView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+</LinearLayout>
|