|
|
@@ -1,17 +1,14 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:tools="http://schemas.android.com/tools">
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ style="@style/layout_properties_specify_width_geight"
|
|
|
android:background="@mipmap/icon_uniform_background">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/layoutHead"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/layout_properties_self_adaption"
|
|
|
android:layout_marginStart="@dimen/divider_65px"
|
|
|
android:layout_marginTop="@dimen/divider_35px"
|
|
|
android:gravity="center"
|
|
|
@@ -25,8 +22,7 @@
|
|
|
android:background="@mipmap/icon_back" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/layout_properties_self_adaption"
|
|
|
android:layout_marginStart="@dimen/divider_14px"
|
|
|
android:text="@string/back_pager"
|
|
|
android:textColor="@android:color/white"
|
|
|
@@ -37,16 +33,15 @@
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
android:id="@+id/tvTitle"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ style="@style/layout_properties_self_adaption"
|
|
|
android:layout_gravity="center"
|
|
|
android:layout_marginTop="@dimen/divider_40px"
|
|
|
android:text="@string/order_list"
|
|
|
android:textColor="@android:color/white"
|
|
|
android:textSize="@dimen/divider_34px"
|
|
|
android:textStyle="bold"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
@@ -59,14 +54,13 @@
|
|
|
app:cardBackgroundColor="@android:color/white"
|
|
|
app:cardCornerRadius="@dimen/divider_28px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvTitle">
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/rvOrderList"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ style="@style/layout_properties_specify_width_geight"
|
|
|
android:layout_marginStart="@dimen/divider_33px"
|
|
|
android:layout_marginTop="@dimen/divider_12px"
|
|
|
android:layout_marginEnd="@dimen/divider_31px"
|