|
|
@@ -1,10 +1,156 @@
|
|
|
<?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"
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:id="@+id/main"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
tools:context=".presentation.simple.SimpleProcessActivity">
|
|
|
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <!-- 步骤0:开始执行按钮 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_container_0"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_start"
|
|
|
+ style="@style/SimpleButton"
|
|
|
+ android:text="@string/simple_start_ticket"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 步骤1 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_container_1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/simple_container_padding"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_ticket_content"
|
|
|
+ android:layout_centerHorizontal="true"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:layout_width="@dimen/simple_ticket_tip_width"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="left"
|
|
|
+ android:text="@string/simple_ticket_tip"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:background="@color/simple_tip_bg"
|
|
|
+ android:padding="10dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_confirm"
|
|
|
+ style="@style/SimpleButton"
|
|
|
+ android:text="@string/simple_confirm"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_margin="50dp"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 步骤2 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_container_2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/simple_container_padding"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_locking"
|
|
|
+ android:layout_centerHorizontal="true"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_wait_for_key_return"
|
|
|
+ android:textSize="@dimen/simple_large_text"
|
|
|
+ android:layout_centerInParent="true"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:layout_width="@dimen/simple_ticket_tip_width"
|
|
|
+ android:gravity="left"
|
|
|
+ android:text="@string/simple_ticket_tip"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:background="@color/simple_tip_bg"
|
|
|
+ android:padding="10dp"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 步骤3 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_container_3"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/simple_container_padding"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_wait_for_colockers_confirm"
|
|
|
+ android:layout_centerHorizontal="true"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:layout_width="150dp"
|
|
|
+ android:text="@string/simple_colocker_tip"
|
|
|
+ android:gravity="left"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="50dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_wait_for_colockers_action"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginBottom="50dp"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 步骤4 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_container_4"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/simple_container_padding"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_in_maintenance"
|
|
|
+ android:layout_centerHorizontal="true"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:layout_width="@dimen/simple_ticket_tip_width"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="left"
|
|
|
+ android:text="@string/simple_maintenance_tip"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:background="@color/simple_tip_bg"
|
|
|
+ android:padding="10dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_wait_for_colockers_action"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginBottom="50dp"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 步骤5 -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_container_5"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:padding="@dimen/simple_container_padding"
|
|
|
+ android:visibility="gone">
|
|
|
+ <TextView
|
|
|
+ style="@style/SimpleTextView"
|
|
|
+ android:text="@string/simple_maintenance_finished"
|
|
|
+ android:layout_centerHorizontal="true"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_return_home"
|
|
|
+ style="@style/SimpleButton"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:text="@string/simple_return_home"/>
|
|
|
+</RelativeLayout>
|