|
@@ -1,10 +1,128 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
|
+<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:id="@+id/main"
|
|
android:id="@+id/main"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- tools:context=".activity.PresentationActivity">
|
|
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:paddingHorizontal="100px"
|
|
|
|
|
+ android:paddingTop="100px"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
|
|
+ tools:context=".presentation.PresentationActivity">
|
|
|
|
|
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_sop"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_name"
|
|
|
|
|
+ app:mode="select"
|
|
|
|
|
+ app:name="@string/presentation_select_sop"
|
|
|
|
|
+ app:required="true" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_workshop"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_workshop"
|
|
|
|
|
+ app:enabled="false"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_select_workshop" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_line"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_line"
|
|
|
|
|
+ app:enabled="false"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_select_line" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_ticket_name"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_name"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_ticket_name" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_ticket_number"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_number"
|
|
|
|
|
+ app:enabled="false"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_ticket_number" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_ticket_type"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_type"
|
|
|
|
|
+ app:enabled="false"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_ticket_type" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_segregation_point"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_point"
|
|
|
|
|
+ app:enabled="false"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_segregation_point" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_person_lock"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_locker"
|
|
|
|
|
+ app:mode="select"
|
|
|
|
|
+ app:name="@string/presentation_person_lock"
|
|
|
|
|
+ app:required="true" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_person_lock_together"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_together"
|
|
|
|
|
+ app:enabled="true"
|
|
|
|
|
+ app:mode="input"
|
|
|
|
|
+ app:name="@string/presentation_person_lock_together"
|
|
|
|
|
+ app:required="true" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.grkj.iscs.widget.SelectableInput
|
|
|
|
|
+ android:id="@+id/si_person_safety"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20px"
|
|
|
|
|
+ app:edittext_hint="@string/presentation_hint_safety"
|
|
|
|
|
+ app:mode="select"
|
|
|
|
|
+ app:name="@string/presentation_person_safety" />
|
|
|
|
|
+
|
|
|
|
|
+ <Button
|
|
|
|
|
+ android:id="@+id/confirm"
|
|
|
|
|
+ android:layout_width="200dp"
|
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
|
+ android:minWidth="0dp"
|
|
|
|
|
+ android:minHeight="0dp"
|
|
|
|
|
+ android:text="确定"
|
|
|
|
|
+ android:textSize="10sp"
|
|
|
|
|
+ android:layout_margin="5dp"
|
|
|
|
|
+ android:layout_gravity="center_horizontal"/>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+</androidx.core.widget.NestedScrollView>
|