|
@@ -1,8 +1,147 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@drawable/bg_card_white_r8"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/step_title_layout"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="100dp"
|
|
|
|
|
+ android:layout_marginTop="100dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/step_tv"
|
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
|
+ android:background="@drawable/init_step_circle"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="@string/init_point_rfid_registration_step"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/normal_text_size" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/step_tip"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/init_point_rfid_registration_step_tip"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_big" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/step_hint"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:text="@string/init_point_rfid_registration_step_hint"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/step_title_layout"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/step_title_layout" />
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/rv_header_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/common_card_bg"
|
|
|
|
|
+ android:divider="@drawable/divider_table"
|
|
|
|
|
+ android:layout_marginHorizontal="100dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/step_hint"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ android:showDividers="middle">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_weight="2"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="@string/recognized_point_rfid"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="@string/operation"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/point_rfid_rv"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_marginHorizontal="100dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/rv_header_layout"
|
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/previous_btn"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/previous_btn"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:layout_marginBottom="100dp"
|
|
|
|
|
+ android:background="@drawable/common_btn"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:text="@string/previous"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/btn_space" />
|
|
|
|
|
+
|
|
|
|
|
+ <Space
|
|
|
|
|
+ android:id="@+id/btn_space"
|
|
|
|
|
+ android:layout_width="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/next_btn"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:layout_marginBottom="100dp"
|
|
|
|
|
+ android:background="@drawable/common_btn"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:text="@string/next"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/btn_space" />
|
|
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/skip_and_complete"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:layout_marginBottom="100dp"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:text="@string/skip_and_complete"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/next_btn"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/previous_btn"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/next_btn"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"/>
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
</layout>
|
|
</layout>
|