|
|
@@ -0,0 +1,90 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:id="@+id/main"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/app_color_black">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tvTaskHeader"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="67dp"
|
|
|
+ android:background="@drawable/bg_item"
|
|
|
+ android:text="OCR识别结果:合格"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="#ff40FF5E"
|
|
|
+ android:textSize="20sp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:id="@+id/content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tvTaskHeader">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:gravity="center|left"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_width="400dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@drawable/bg_task_title_selected"
|
|
|
+ android:layout_height="183dp">
|
|
|
+ <ImageView
|
|
|
+ android:background="@drawable/bg_task_title_selected"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:id="@+id/iv"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_height="150dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/hint"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:layout_width="90dp"
|
|
|
+ android:src="@mipmap/ocr_true"
|
|
|
+ android:layout_height="90dp"/>
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/baseRecyclerView"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="88dp"
|
|
|
+ android:clipToPadding="false"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/content" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:id="@+id/hint"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/baseRecyclerView"
|
|
|
+ android:layout_marginVertical="4dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="单击或语音输入“开始”,进入下一步"
|
|
|
+ android:textColor="#ff40FF5E"
|
|
|
+ android:textSize="14sp"/>
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+</layout>
|