|
|
@@ -0,0 +1,100 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:id="@+id/root"
|
|
|
+ android:layout_width="243dp"
|
|
|
+ android:layout_height="212dp"
|
|
|
+ android:layout_margin="@dimen/common_spacing_small"
|
|
|
+ android:background="@drawable/item_rv_manual_replacement_bg">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginHorizontal="@dimen/divider_line_width"
|
|
|
+ android:layout_marginTop="@dimen/divider_line_width"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@color/bar_bg"
|
|
|
+ android:paddingVertical="@dimen/common_spacing_small"
|
|
|
+ android:text="@string/old_material" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@color/bar_bg"
|
|
|
+ android:paddingVertical="@dimen/common_spacing_small"
|
|
|
+ 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"
|
|
|
+ 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" />
|
|
|
+
|
|
|
+ <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:background="@color/main_color" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@id/v_bottom_divider"
|
|
|
+ android:layout_below="@id/ll_title"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <!-- 旧物资 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="71dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_centerInParent="true" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/divider_line_width"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="@dimen/divider_line_width"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/main_color" />
|
|
|
+
|
|
|
+ <!-- 新物资 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</RelativeLayout>
|