|
|
@@ -32,22 +32,38 @@
|
|
|
android:text="@string/new_material" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <com.grkj.iscs_mc.view.widget.CommonBtn
|
|
|
- android:id="@+id/cb_confirm"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_confirm"
|
|
|
+ style="@style/CommonBtnRed"
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
- android:layout_marginVertical="@dimen/common_spacing_small"
|
|
|
- android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
- app:btn_bg="@drawable/common_btn_red_bg"
|
|
|
- app:btn_name="@string/save" />
|
|
|
+ android:layout_marginVertical="3dp"
|
|
|
+ android:layout_marginRight="3dp"
|
|
|
+ android:padding="0dp"
|
|
|
+ android:text="@string/confirm_replacement"
|
|
|
+ android:textSize="@dimen/common_text_size_small" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_reset"
|
|
|
+ style="@style/CommonBtnRed"
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginVertical="3dp"
|
|
|
+ android:layout_marginRight="3dp"
|
|
|
+ android:layout_toLeftOf="@id/tv_confirm"
|
|
|
+ android:backgroundTint="@color/common_light_gray"
|
|
|
+ android:padding="0dp"
|
|
|
+ android:text="@string/reset_modification"
|
|
|
+ android:textSize="@dimen/common_text_size_small" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/v_bottom_divider"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/divider_line_width"
|
|
|
- android:layout_above="@id/cb_confirm"
|
|
|
+ android:layout_above="@id/tv_confirm"
|
|
|
android:background="@color/main_color" />
|
|
|
|
|
|
<LinearLayout
|
|
|
@@ -66,11 +82,11 @@
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="71dp">
|
|
|
+ android:layout_height="68dp">
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="50dp"
|
|
|
+ android:layout_width="53dp"
|
|
|
+ android:layout_height="53dp"
|
|
|
android:layout_centerInParent="true" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
@@ -79,7 +95,89 @@
|
|
|
android:layout_height="@dimen/divider_line_width"
|
|
|
android:background="@color/main_color" />
|
|
|
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_name_old"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:enabled="false"
|
|
|
+ app:name="@string/name"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_type_old"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:enabled="false"
|
|
|
+ app:mode="select"
|
|
|
+ app:name="@string/type"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_model_old"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:enabled="false"
|
|
|
+ app:mode="select"
|
|
|
+ app:name="@string/model"
|
|
|
+ app:required="false" />
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_rfid_old"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:enabled="false"
|
|
|
+ app:mode="input"
|
|
|
+ app:name="@string/rfid"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_date_old"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:enabled="false"
|
|
|
+ app:mode="date"
|
|
|
+ app:name="@string/valid_date"
|
|
|
+ app:required="false" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
|
@@ -94,6 +192,99 @@
|
|
|
android:layout_weight="1"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="68dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="53dp"
|
|
|
+ android:layout_height="53dp"
|
|
|
+ android:layout_centerInParent="true" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_name_new"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:name="@string/name"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_type_new"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:mode="select"
|
|
|
+ app:name="@string/type"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_model_new"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:mode="select"
|
|
|
+ app:name="@string/model"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_rfid_new"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:mode="input"
|
|
|
+ app:name="@string/rfid"
|
|
|
+ app:required="false" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <com.grkj.iscs_mc.view.widget.SelectableInput
|
|
|
+ android:id="@+id/ci_date_new"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginVertical="2.2dp"
|
|
|
+ android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
+ app:edit_width="85dp"
|
|
|
+ app:mode="date"
|
|
|
+ app:name="@string/valid_date"
|
|
|
+ app:required="false" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|