|
@@ -5,8 +5,8 @@
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@drawable/home_card_bg"
|
|
|
|
|
android:layout_margin="@dimen/iscs_space_2"
|
|
android:layout_margin="@dimen/iscs_space_2"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
@@ -21,17 +21,17 @@
|
|
|
android:layout_width="@dimen/title_icon_size"
|
|
android:layout_width="@dimen/title_icon_size"
|
|
|
android:layout_height="@dimen/title_icon_size"
|
|
android:layout_height="@dimen/title_icon_size"
|
|
|
android:tint="?attr/colorPrimary"
|
|
android:tint="?attr/colorPrimary"
|
|
|
- app:skinSrc='@{"new_sop.svg"}'/>
|
|
|
|
|
|
|
+ app:skinSrc='@{"new_sop.svg"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
- app:i18nKey='@{"edit_sop_title"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
android:textSize="@dimen/iscs_text_md"
|
|
android:textSize="@dimen/iscs_text_md"
|
|
|
- android:textStyle="bold" />
|
|
|
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
|
+ app:i18nKey='@{"edit_sop_title"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/back"
|
|
android:id="@+id/back"
|
|
@@ -41,14 +41,14 @@
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/common_btn_secondary"
|
|
android:background="@drawable/common_btn_secondary"
|
|
|
android:drawableLeft="@mipmap/icon_back"
|
|
android:drawableLeft="@mipmap/icon_back"
|
|
|
- android:drawableTint="?attr/colorPrimary"
|
|
|
|
|
android:drawablePadding="@dimen/iscs_space_2"
|
|
android:drawablePadding="@dimen/iscs_space_2"
|
|
|
|
|
+ android:drawableTint="?attr/colorPrimary"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:minHeight="@dimen/common_btn_height"
|
|
android:minHeight="@dimen/common_btn_height"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
- app:i18nKey='@{"back"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"back"}' />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
@@ -83,9 +83,9 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
- app:i18nKey='@{"base_info_title"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"base_info_title"}' />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -93,20 +93,24 @@
|
|
|
android:background="?attr/colorDivider" />
|
|
android:background="?attr/colorDivider" />
|
|
|
|
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/iscs_space_4"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal">
|
|
|
|
|
|
|
+ <com.grkj.ui_base.widget.FormLayout
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:clipToPadding="false"
|
|
|
|
|
+ android:minWidth="0dp"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:padding="@dimen/dialog_content_normal_padding_horizontal"
|
|
|
|
|
+ app:columnSpacing="@dimen/iscs_space_2"
|
|
|
|
|
+ app:rowSpacing="@dimen/iscs_space_2">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- app:i18nKey='@{"sop_workstation"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:formRole="label"
|
|
|
|
|
+ app:i18nKey='@{"sop_workstation"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/workstation_tv"
|
|
android:id="@+id/workstation_tv"
|
|
@@ -115,29 +119,22 @@
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/bg_common_input"
|
|
android:background="@drawable/bg_common_input"
|
|
|
android:drawableRight="@mipmap/icon_drop_down"
|
|
android:drawableRight="@mipmap/icon_drop_down"
|
|
|
- app:i18nHint='@{"please_select_sop_workstation"}'
|
|
|
|
|
android:maxLines="1"
|
|
android:maxLines="1"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_2"
|
|
android:paddingHorizontal="@dimen/iscs_space_2"
|
|
|
android:paddingVertical="2dp"
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/iscs_space_4"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal">
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:formRole="field"
|
|
|
|
|
+ app:i18nHint='@{"please_select_sop_workstation"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- app:i18nKey='@{"workflow_mode"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:formRole="label"
|
|
|
|
|
+ app:i18nKey='@{"workflow_mode"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/lock_mode_tv"
|
|
android:id="@+id/lock_mode_tv"
|
|
@@ -146,30 +143,22 @@
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/bg_common_input"
|
|
android:background="@drawable/bg_common_input"
|
|
|
android:drawableRight="@mipmap/icon_drop_down"
|
|
android:drawableRight="@mipmap/icon_drop_down"
|
|
|
- app:i18nHint='@{"please_select_flow_mode"}'
|
|
|
|
|
android:maxLines="1"
|
|
android:maxLines="1"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_2"
|
|
android:paddingHorizontal="@dimen/iscs_space_2"
|
|
|
android:paddingVertical="2dp"
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/iscs_space_4"
|
|
|
|
|
- android:layout_marginBottom="@dimen/iscs_space_4"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="@dimen/dialog_content_normal_padding_horizontal">
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:formRole="field"
|
|
|
|
|
+ app:i18nHint='@{"please_select_flow_mode"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- app:i18nKey='@{"create_sop_name"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:formRole="label"
|
|
|
|
|
+ app:i18nKey='@{"create_sop_name"}' />
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/sop_name_et"
|
|
android:id="@+id/sop_name_et"
|
|
@@ -177,14 +166,15 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/bg_common_input"
|
|
android:background="@drawable/bg_common_input"
|
|
|
- app:i18nHint='@{"please_input_sop_name"}'
|
|
|
|
|
android:maxLines="1"
|
|
android:maxLines="1"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_2"
|
|
android:paddingHorizontal="@dimen/iscs_space_2"
|
|
|
android:paddingVertical="2dp"
|
|
android:paddingVertical="2dp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:formRole="field"
|
|
|
|
|
+ app:i18nHint='@{"please_input_sop_name"}' />
|
|
|
|
|
+ </com.grkj.ui_base.widget.FormLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
@@ -214,9 +204,9 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
- app:i18nKey='@{"workflow_mode"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"workflow_mode"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/workflow_mode_setting_tv"
|
|
android:id="@+id/workflow_mode_setting_tv"
|
|
@@ -226,9 +216,9 @@
|
|
|
android:layout_marginRight="@dimen/iscs_space_2"
|
|
android:layout_marginRight="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/common_btn_secondary"
|
|
android:background="@drawable/common_btn_secondary"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
- app:i18nKey='@{"settings"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"settings"}' />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
@@ -271,9 +261,9 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
- app:i18nKey='@{"point_info_title"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"point_info_title"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/select_point_tv"
|
|
android:id="@+id/select_point_tv"
|
|
@@ -283,9 +273,9 @@
|
|
|
android:layout_marginRight="@dimen/iscs_space_2"
|
|
android:layout_marginRight="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/common_btn_secondary"
|
|
android:background="@drawable/common_btn_secondary"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
- app:i18nKey='@{"select"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"select"}' />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
@@ -323,9 +313,9 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
- app:i18nKey='@{"member_info_title"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"member_info_title"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/select_member_tv"
|
|
android:id="@+id/select_member_tv"
|
|
@@ -335,9 +325,9 @@
|
|
|
android:layout_marginRight="@dimen/iscs_space_2"
|
|
android:layout_marginRight="@dimen/iscs_space_2"
|
|
|
android:background="@drawable/common_btn_secondary"
|
|
android:background="@drawable/common_btn_secondary"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
- app:i18nKey='@{"select"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"select"}' />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
@@ -365,9 +355,9 @@
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
android:paddingVertical="@dimen/iscs_space_2"
|
|
android:paddingVertical="@dimen/iscs_space_2"
|
|
|
- app:i18nKey='@{"locker"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"locker"}' />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -397,9 +387,9 @@
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
android:paddingVertical="@dimen/iscs_space_2"
|
|
android:paddingVertical="@dimen/iscs_space_2"
|
|
|
- app:i18nKey='@{"colocker"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"colocker"}' />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -437,9 +427,9 @@
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:minHeight="@dimen/common_btn_height"
|
|
android:minHeight="@dimen/common_btn_height"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
- app:i18nKey='@{"confirm"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"confirm"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/cancel"
|
|
android:id="@+id/cancel"
|
|
@@ -452,9 +442,9 @@
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
android:minHeight="@dimen/common_btn_height"
|
|
android:minHeight="@dimen/common_btn_height"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
- app:i18nKey='@{"cancel"}'
|
|
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
- android:textSize="@dimen/iscs_text_md" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"cancel"}' />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</layout>
|
|
</layout>
|