|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -28,8 +29,8 @@
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:text="@string/create_sop_job_title"
|
|
android:text="@string/create_sop_job_title"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textStyle="bold"
|
|
|
|
|
- android:textSize="@dimen/normal_text_size_25" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/normal_text_size_25"
|
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/back"
|
|
android:id="@+id/back"
|
|
@@ -68,7 +69,6 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
- android:layout_weight="1"
|
|
|
|
|
android:text="@string/base_info_title"
|
|
android:text="@string/base_info_title"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
android:textSize="@dimen/normal_text_size_18" />
|
|
android:textSize="@dimen/normal_text_size_18" />
|
|
@@ -78,25 +78,26 @@
|
|
|
android:layout_height="@dimen/divider_line_space"
|
|
android:layout_height="@dimen/divider_line_space"
|
|
|
android:background="@color/black" />
|
|
android:background="@color/black" />
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal">
|
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal"
|
|
|
|
|
+ android:paddingBottom="@dimen/common_spacing_2x">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:id="@+id/sop_workstation_tv"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
android:text="@string/sop_workstation"
|
|
android:text="@string/sop_workstation"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/workstation_tv"
|
|
android:id="@+id/workstation_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
android:background="@drawable/bg_common_input"
|
|
android:background="@drawable/bg_common_input"
|
|
@@ -107,28 +108,26 @@
|
|
|
android:paddingVertical="2dp"
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="36dp"
|
|
|
|
|
- android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal">
|
|
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/sop_workstation_tv"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/sop_workstation_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/sop_workstation_tv" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:id="@+id/sop_title"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
android:text="@string/create_sop_job_sop"
|
|
android:text="@string/create_sop_job_sop"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/sop_workstation_tv"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/sop_workstation_tv" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/sop_tv"
|
|
android:id="@+id/sop_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
android:background="@drawable/bg_common_input"
|
|
android:background="@drawable/bg_common_input"
|
|
@@ -139,28 +138,26 @@
|
|
|
android:paddingVertical="2dp"
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
- android:layout_marginBottom="@dimen/common_spacing_2x"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal">
|
|
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/sop_title"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/sop_title"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/sop_title" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:id="@+id/job_name_tv"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
android:text="@string/job_name"
|
|
android:text="@string/job_name"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/sop_title"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/sop_title" />
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/job_name_et"
|
|
android:id="@+id/job_name_et"
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
android:layout_marginLeft="@dimen/common_spacing"
|
|
|
android:background="@drawable/bg_common_input"
|
|
android:background="@drawable/bg_common_input"
|
|
@@ -170,8 +167,13 @@
|
|
|
android:paddingVertical="2dp"
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/common_text_size" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/job_name_tv"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/job_name_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/job_name_tv" />
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
+
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
@@ -179,6 +181,7 @@
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:id="@+id/workflow_mode_layout"
|
|
android:id="@+id/workflow_mode_layout"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -231,8 +234,8 @@
|
|
|
android:id="@+id/workflow_rv"
|
|
android:id="@+id/workflow_rv"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:scrollbars="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/common_spacing" />
|
|
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
+ android:scrollbars="horizontal" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/select_workflow_tip"
|
|
android:id="@+id/select_workflow_tip"
|
|
@@ -247,13 +250,14 @@
|
|
|
android:textSize="@dimen/normal_text_size_18" />
|
|
android:textSize="@dimen/normal_text_size_18" />
|
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
+
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:id="@+id/point_info_layout"
|
|
android:id="@+id/point_info_layout"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginHorizontal="@dimen/common_spacing_2x"
|
|
android:layout_marginHorizontal="@dimen/common_spacing_2x"
|
|
|
- android:layout_weight="1"
|
|
|
|
|
android:layout_marginVertical="@dimen/common_spacing"
|
|
android:layout_marginVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
android:background="@drawable/home_card_bg"
|
|
android:background="@drawable/home_card_bg"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
@@ -316,8 +320,8 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginHorizontal="@dimen/common_spacing_2x"
|
|
android:layout_marginHorizontal="@dimen/common_spacing_2x"
|
|
|
- android:layout_weight="1"
|
|
|
|
|
android:layout_marginVertical="@dimen/common_spacing"
|
|
android:layout_marginVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
android:background="@drawable/home_card_bg"
|
|
android:background="@drawable/home_card_bg"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|