|
@@ -6,7 +6,6 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
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
|
|
@@ -33,88 +32,161 @@
|
|
|
android:textStyle="bold"
|
|
android:textStyle="bold"
|
|
|
app:i18nKey='@{"material_exchange"}' />
|
|
app:i18nKey='@{"material_exchange"}' />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/back"
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/borrowableLayout"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginVertical="5dp"
|
|
|
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
- android:background="@drawable/common_btn_secondary"
|
|
|
|
|
- android:drawableLeft="@mipmap/icon_back"
|
|
|
|
|
- android:drawablePadding="@dimen/iscs_space_2"
|
|
|
|
|
- android:drawableTint="?attr/colorPrimary"
|
|
|
|
|
|
|
+ android:background="@drawable/bg_tab_container_selector"
|
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
|
- android:minHeight="@dimen/common_btn_height"
|
|
|
|
|
- android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
|
|
- android:textColor="?attr/colorTextPrimary"
|
|
|
|
|
- android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
- app:i18nKey='@{"back"}' />
|
|
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/iscs_space_4">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/borrowableBtn"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:textColor="?attr/colorTextPrimary"
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"borrowable"}' />
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/waitBackLayout"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/iscs_space_2"
|
|
|
|
|
+ android:background="@drawable/bg_tab_container_selector"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/iscs_space_4">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:textColor="?attr/colorTextPrimary"
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_md"
|
|
|
|
|
+ app:i18nKey='@{"wait_back"}' />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/waitBackNum"
|
|
|
|
|
+ android:layout_width="@dimen/title_icon_size"
|
|
|
|
|
+ android:layout_height="@dimen/title_icon_size"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/iscs_space_1"
|
|
|
|
|
+ android:background="@drawable/bg_badge"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:textColor="?attr/colorTextPrimary"
|
|
|
|
|
+ android:textSize="@dimen/iscs_text_sm"
|
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
- <View
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/divider_line_space"
|
|
|
|
|
- android:background="?attr/colorBlack" />
|
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_marginHorizontal="@dimen/iscs_space_2"
|
|
|
|
|
+ android:layout_marginTop="@dimen/iscs_space_2"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@drawable/home_card_bg"
|
|
|
|
|
+ android:divider="@drawable/divider_table"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:showDividers="middle">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/common_card_header_bg"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:showDividers="middle">
|
|
|
|
|
+
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:minHeight="@dimen/header_chip_row_height">
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/header_rv_list"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:padding="@dimen/iscs_space_2" />
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/header_rv_list_all"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:padding="@dimen/iscs_space_2"
|
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/header_expand_iv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginHorizontal="@dimen/iscs_space_1"
|
|
|
|
|
+ android:layout_marginTop="@dimen/iscs_space_1"
|
|
|
|
|
+ android:tint="?attr/colorPrimary"
|
|
|
|
|
+ app:skinSrc='@{"angle-circle-down.svg"}' />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <com.drake.statelayout.StateLayout
|
|
|
|
|
+ android:id="@+id/state"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@drawable/common_card_bg">
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
+ android:id="@+id/list_rv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:padding="@dimen/iscs_space_2" />
|
|
|
|
|
+ </com.drake.statelayout.StateLayout>
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginHorizontal="@dimen/iscs_space_2"
|
|
|
|
|
+ android:layout_marginVertical="@dimen/iscs_space_2"
|
|
|
|
|
+ android:divider="@drawable/common_divider_normal_space_horizontal"
|
|
|
|
|
+ android:gravity="center"
|
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
|
- android:paddingHorizontal="@dimen/iscs_space_2"
|
|
|
|
|
- android:paddingVertical="@dimen/iscs_space_2">
|
|
|
|
|
|
|
+ android:showDividers="middle">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ android:id="@+id/open_door"
|
|
|
|
|
+ android:layout_width="@dimen/iscs_button_min_width"
|
|
|
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:background="@drawable/common_btn_confirm"
|
|
|
|
|
+ android:drawableLeft="@mipmap/icon_confirm"
|
|
|
|
|
+ android:drawablePadding="@dimen/iscs_space_2"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:minHeight="@dimen/common_btn_height"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
android:textSize="@dimen/iscs_text_md"
|
|
android:textSize="@dimen/iscs_text_md"
|
|
|
- app:i18nKey='@{"data_export_tip"}' />
|
|
|
|
|
|
|
+ app:i18nKey='@{"open_door"}' />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/export"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ android:id="@+id/back"
|
|
|
|
|
+ android:layout_width="@dimen/iscs_button_min_width"
|
|
|
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_marginRight="@dimen/iscs_space_2"
|
|
|
|
|
- android:background="@drawable/common_btn_secondary"
|
|
|
|
|
|
|
+ android:background="@drawable/common_btn_cancel"
|
|
|
|
|
+ android:drawableLeft="@mipmap/icon_cancel"
|
|
|
|
|
+ android:drawablePadding="@dimen/iscs_space_2"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:minHeight="@dimen/common_btn_height"
|
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
android:paddingHorizontal="@dimen/iscs_space_4"
|
|
|
android:textColor="?attr/colorTextPrimary"
|
|
android:textColor="?attr/colorTextPrimary"
|
|
|
android:textSize="@dimen/iscs_text_md"
|
|
android:textSize="@dimen/iscs_text_md"
|
|
|
- app:i18nKey='@{"common_export"}' />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginHorizontal="@dimen/iscs_space_4"
|
|
|
|
|
- android:layout_marginTop="@dimen/iscs_space_2"
|
|
|
|
|
- android:background="@drawable/common_card_header_bg"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:showDividers="middle">
|
|
|
|
|
-
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/header_rv_list"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/header_expand_iv"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginHorizontal="@dimen/iscs_space_1"
|
|
|
|
|
- android:layout_marginTop="@dimen/iscs_space_1"
|
|
|
|
|
- app:skinSrc='@{"angle-circle-down.svg"}' />
|
|
|
|
|
|
|
+ app:i18nKey='@{"back"}' />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
-
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
- android:id="@+id/list_rv"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_marginHorizontal="@dimen/iscs_space_4"
|
|
|
|
|
- android:layout_marginBottom="@dimen/iscs_space_2"
|
|
|
|
|
- android:background="@drawable/common_card_bg" />
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</layout>
|
|
</layout>
|