|
@@ -1,23 +1,73 @@
|
|
|
<?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"
|
|
|
- xmlns:tool="http://schemas.android.com/tools"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
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/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"
|
|
|
- android:background="@drawable/card_white"
|
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ViewClock"
|
|
@@ -29,29 +79,6 @@
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ImageStatus"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:padding="10dp"
|
|
|
- android:scaleType="fitCenter"
|
|
|
- android:src="@drawable/ui_vector_status"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/TextTitle"
|
|
|
- app:layout_constraintDimensionRatio="1.2:1"
|
|
|
- app:layout_constraintEnd_toStartOf="@id/ImageSetting"
|
|
|
- app:layout_constraintTop_toTopOf="@id/TextTitle" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ImageSetting"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:padding="10dp"
|
|
|
- android:scaleType="fitCenter"
|
|
|
- android:src="@drawable/ui_vector_setting"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/TextTitle"
|
|
|
- app:layout_constraintDimensionRatio="1.2:1"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@id/TextTitle" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ViewClock"
|
|
@@ -68,7 +95,7 @@
|
|
|
app:layout_constraintHorizontal_weight="2"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/TextTitle"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/fl_title"
|
|
|
|
|
|
>
|
|
|
|
|
@@ -159,17 +186,5 @@
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/TextTitle"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="15dp"
|
|
|
- android:text="@string/app_name"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/sp_25"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|