|
@@ -2,7 +2,7 @@
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
android:layout_gravity="center">
|
|
android:layout_gravity="center">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
@@ -14,30 +14,81 @@
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/rl_cart_product"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="700dp"
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
+ android:visibility="visible"
|
|
|
|
+ android:background="@drawable/home_rectangle_background"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/iv_back"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/home_guideline4">
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_title"
|
|
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
+ android:id="@+id/rv_cart_product"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginStart="47dp"
|
|
|
|
- android:text="@string/home_choosepay_title"
|
|
|
|
- android:textColor="#1C1C1D"
|
|
|
|
- android:textSize="56sp"
|
|
|
|
-
|
|
|
|
- android:textStyle="bold"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/iv_back"
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/iv_back" />
|
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:maxWidth="1300dp"
|
|
|
|
+ android:maxHeight="800dp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_price"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
|
+ android:text="合计:12:00"
|
|
|
|
+ android:textColor="#576478"
|
|
|
|
+ android:textSize="56sp"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_alignParentBottom="true"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/rl_select_pay"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
+ android:visibility="visible"
|
|
|
|
+ android:background="@drawable/home_rectangle_background"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ android:layout_marginTop="37dp"
|
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/home_guideline4">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:maxWidth="600dp"
|
|
|
|
+ android:autoSizeTextType="uniform"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:maxHeight="90dp"
|
|
|
|
+ android:layout_marginStart="47dp"
|
|
|
|
+ android:text="@string/home_choosepay_title"
|
|
|
|
+ android:textColor="#1C1C1D"
|
|
|
|
+ android:textSize="56sp"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
+ android:id="@+id/rv_pay"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:maxWidth="1500dp"
|
|
|
|
+ android:layout_marginStart="60dp"
|
|
|
|
+ android:layout_below="@id/tv_title"/>
|
|
|
|
+
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/iv_back"
|
|
android:id="@+id/iv_back"
|
|
- android:layout_width="250dp"
|
|
|
|
- android:layout_height="120dp"
|
|
|
|
|
|
+ android:layout_width="100dp"
|
|
|
|
+ android:layout_height="100dp"
|
|
android:layout_marginTop="37dp"
|
|
android:layout_marginTop="37dp"
|
|
android:layout_marginEnd="47dp"
|
|
android:layout_marginEnd="47dp"
|
|
- android:background="@drawable/btn_back_background"
|
|
|
|
|
|
+ android:background="@drawable/icon_cancel"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
- android:text="@string/home_cancle"
|
|
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
android:textSize="42sp"
|
|
android:textSize="42sp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
@@ -69,16 +120,6 @@
|
|
<!-- app:layout_constraintStart_toEndOf="@+id/home_textview2" />-->
|
|
<!-- app:layout_constraintStart_toEndOf="@+id/home_textview2" />-->
|
|
|
|
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
|
- android:id="@+id/rv_pay"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="20dp"
|
|
|
|
- android:maxWidth="1500dp"
|
|
|
|
- android:maxHeight="800dp"
|
|
|
|
- app:layout_constraintStart_toStartOf="@+id/tv_title"
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_title" />
|
|
|
|
-
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:id="@+id/home_guideline4"
|
|
android:id="@+id/home_guideline4"
|
|
@@ -112,16 +153,37 @@
|
|
app:layout_constraintStart_toStartOf="@+id/home_guideline4"
|
|
app:layout_constraintStart_toStartOf="@+id/home_guideline4"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <androidx.fragment.app.FragmentContainerView
|
|
|
|
- android:id="@+id/fcv_pay"
|
|
|
|
- android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
- android:layout_width="700dp"
|
|
|
|
- android:layout_height="700dp"
|
|
|
|
- android:layout_marginBottom="40dp"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/rl_pay_message"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ android:layout_width="800dp"
|
|
|
|
+ android:layout_height="800dp"
|
|
|
|
+ android:layout_marginTop="40dp"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
- app:layout_constraintStart_toStartOf="@+id/home_guideline4"
|
|
|
|
- app:navGraph="@navigation/home_pay_nav"/>
|
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/home_guideline4">
|
|
|
|
+ <androidx.fragment.app.FragmentContainerView
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:id="@+id/fcv_pay"
|
|
|
|
+ android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
+ android:layout_width="700dp"
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
+ android:layout_height="700dp"
|
|
|
|
+ android:layout_below="@id/iv_cancel"
|
|
|
|
+ app:navGraph="@navigation/home_pay_nav"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/iv_cancel"
|
|
|
|
+ android:layout_width="250dp"
|
|
|
|
+ android:layout_height="120dp"
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
+ android:background="@drawable/btn_back_background"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="@string/backstage_back"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="42sp"/>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|