|
|
@@ -1,51 +1,59 @@
|
|
|
<?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="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/common_spacing_small">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_step"
|
|
|
- android:layout_width="@dimen/item_rv_step_width"
|
|
|
- android:layout_height="@dimen/item_rv_step_height"
|
|
|
- android:background="@drawable/item_rv_technology_sop_bg_normal"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/common_spacing_small">
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
+ android:id="@+id/cv_step"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:cardBackgroundColor="@color/common_bg_white_10"
|
|
|
+ app:cardCornerRadius="@dimen/common_radius_small"
|
|
|
+ app:strokeColor="@color/common_transparent">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_width="@dimen/item_rv_step_width"
|
|
|
+ android:layout_height="@dimen/item_rv_step_height"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/common_spacing_small">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_status"
|
|
|
+ android:layout_width="12dp"
|
|
|
+ android:layout_height="12dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_status"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_marginLeft="5dp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/iv_status"
|
|
|
- android:layout_width="12dp"
|
|
|
- android:layout_height="12dp" />
|
|
|
+ android:id="@+id/iv_icon"
|
|
|
+ android:layout_width="55dp"
|
|
|
+ android:layout_height="26dp"
|
|
|
+ android:layout_marginTop="5dp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_status"
|
|
|
+ android:id="@+id/tv_name"
|
|
|
style="@style/CommonTextView"
|
|
|
- android:layout_marginLeft="5dp" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_icon"
|
|
|
- android:layout_width="55dp"
|
|
|
- android:layout_height="26dp"
|
|
|
- android:layout_marginTop="5dp" />
|
|
|
+ android:layout_marginVertical="5dp"
|
|
|
+ android:textSize="@dimen/common_text_size_small" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_name"
|
|
|
- style="@style/CommonTextView"
|
|
|
- android:layout_marginVertical="5dp"
|
|
|
- android:textSize="@dimen/common_text_size_small" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_index"
|
|
|
- style="@style/CommonTextView" />
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_index"
|
|
|
+ style="@style/CommonTextView" />
|
|
|
+ </LinearLayout>
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_arrow_right"
|
|
|
@@ -53,16 +61,16 @@
|
|
|
android:layout_height="11dp"
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="@dimen/common_spacing_small"
|
|
|
- android:layout_toRightOf="@id/ll_step"
|
|
|
+ android:layout_toRightOf="@id/cv_step"
|
|
|
android:src="@mipmap/arrow" />
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_arrow_bottom"
|
|
|
android:layout_width="11dp"
|
|
|
android:layout_height="11dp"
|
|
|
- android:layout_below="@id/ll_step"
|
|
|
+ android:layout_below="@id/cv_step"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
android:layout_marginVertical="5dp"
|
|
|
- android:src="@mipmap/arrow"
|
|
|
- android:rotation="90" />
|
|
|
+ android:rotation="90"
|
|
|
+ android:src="@mipmap/arrow" />
|
|
|
</RelativeLayout>
|