123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/login_button_normal"
- android:orientation="vertical">
- <FrameLayout
- android:id="@+id/fl_title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <com.sunwin.visitorapp.view.UINav
- android:id="@+id/UINav"
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <RelativeLayout
- android:id="@+id/ll_home_title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/tv_loginOut"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="退出登录"
- android:textSize="@dimen/sp_20"
- android:layout_alignParentLeft="true"
- android:layout_marginLeft="20dp"
- android:textColor="@color/black"
- android:padding="10dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ui_vector_setting" />
- <TextView
- android:id="@+id/TextTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:padding="15dp"
- android:text="@string/app_name"
- android:textColor="@color/black"
- android:textSize="@dimen/sp_25" />
- <ImageView
- android:id="@+id/ImageStatus"
- android:layout_width="60dp"
- android:layout_height="60dp"
- android:layout_toLeftOf="@+id/ImageSetting"
- android:padding="10dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ui_vector_status" />
- <ImageView
- android:id="@+id/ImageSetting"
- android:layout_width="60dp"
- android:layout_height="60dp"
- android:layout_alignParentRight="true"
- android:layout_marginLeft="20dp"
- android:padding="10dp"
- android:scaleType="fitCenter"
- android:src="@drawable/ui_vector_setting" />
- </RelativeLayout>
- </FrameLayout>
- <FrameLayout
- android:id="@+id/FragmentView"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="40dp"
- android:background="@drawable/card_white"
- app:layout_constraintBottom_toBottomOf="@id/ViewClock"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_weight="5"
- app:layout_constraintStart_toEndOf="@id/ViewClock"
- app:layout_constraintTop_toTopOf="@id/ViewClock"
- >
- </FrameLayout>
- <LinearLayout
- android:id="@+id/ViewClock"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_marginStart="40dp"
- android:layout_marginTop="10dp"
- android:layout_marginEnd="10dp"
- android:layout_marginBottom="10dp"
- android:background="@drawable/card_white"
- app:layout_constraintBottom_toTopOf="@id/ViewMenu"
- app:layout_constraintEnd_toStartOf="@id/FragmentView"
- app:layout_constraintHorizontal_weight="2"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/fl_title"
- >
- </LinearLayout>
- <LinearLayout
- android:id="@+id/ViewMenu"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="30dp"
- android:layout_marginTop="20dp"
- android:layout_marginEnd="30dp"
- android:layout_marginBottom="20dp"
- android:orientation="horizontal"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/ViewClock">
- <LinearLayout
- android:id="@+id/MenuItemRecord"
- style="@style/Home_Menu_Item_View">
- <ImageView
- style="@style/Home_Menu_Item_Icon"
- android:background="@drawable/menu_orange"
- android:src="@drawable/ui_vector_record" />
- <TextView
- style="@style/Home_Menu_Item_Label"
- android:text="访客记录" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/MenuItemSign"
- style="@style/Home_Menu_Item_View">
- <ImageView
- style="@style/Home_Menu_Item_Icon"
- android:background="@drawable/menu_green"
- android:src="@drawable/ui_vector_sign" />
- <TextView
- style="@style/Home_Menu_Item_Label"
- android:text="访客签到" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/MenuItemRegister"
- style="@style/Home_Menu_Item_View">
- <ImageView
- style="@style/Home_Menu_Item_Icon"
- android:background="@drawable/menu_yellow"
- android:src="@drawable/ui_vector_register" />
- <TextView
- style="@style/Home_Menu_Item_Label"
- android:text="访客登记" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/MenuItemLeave"
- style="@style/Home_Menu_Item_View">
- <ImageView
- style="@style/Home_Menu_Item_Icon"
- android:background="@drawable/menu_red"
- android:src="@drawable/ui_vector_leave" />
- <TextView
- style="@style/Home_Menu_Item_Label"
- android:text="访客签离" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/MenuItemCheck"
- style="@style/Home_Menu_Item_View">
- <ImageView
- style="@style/Home_Menu_Item_Icon"
- android:background="@drawable/menu_gray"
- android:src="@drawable/ui_vector_check" />
- <TextView
- style="@style/Home_Menu_Item_Label"
- android:text="快速核验" />
- </LinearLayout>
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
|