From ef4ad6195ba5cf2e61e50c86b735a65aec63b4e9 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期五, 28 三月 2025 15:00:21 +0800 Subject: [PATCH] 1.vip续费页面-会员权益 2.vip续费页面-更多权益 3.vip续费页面-付费面板 --- app/src/main/res/layout/item_card_continue_monthly.xml | 33 ++++++++++++++++++++++++--------- 1 files changed, 24 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/item_card_continue_monthly.xml b/app/src/main/res/layout/item_card_continue_monthly.xml index 115f488..6e7cb52 100644 --- a/app/src/main/res/layout/item_card_continue_monthly.xml +++ b/app/src/main/res/layout/item_card_continue_monthly.xml @@ -1,9 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="280dp" + android:layout_width="240dp" android:layout_height="wrap_content" - android:layout_margin="8dp" + android:layout_marginTop="10dp" + android:layout_marginRight="10dp" android:background="@android:color/transparent" app:cardBackgroundColor="@android:color/transparent" app:cardElevation="0dp" @@ -15,7 +16,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" - android:layout_height="140dp" + android:layout_height="100dp" android:layout_marginTop="10dp" app:cardCornerRadius="16dp" android:foreground="@drawable/gold_border_shape" @@ -27,7 +28,8 @@ <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="16dp" + android:padding="5dp" + android:paddingStart="15dp" android:background="@android:color/transparent"> <!-- Title Text --> @@ -38,7 +40,7 @@ android:text="连续包月" android:textSize="18sp" android:textColor="#F9EBC6" - android:layout_marginTop="8dp" + android:background="@android:color/transparent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" /> @@ -64,11 +66,23 @@ <!-- Price Text --> <TextView + android:id="@+id/price_text_tag" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="¥" + android:textSize="20sp" + android:textColor="#F9EBC6" + android:layout_marginTop="10dp" + android:layout_marginLeft="135dp" + android:background="@android:color/transparent" + app:layout_constraintTop_toBottomOf="@id/sub_title_text" + app:layout_constraintStart_toStartOf="parent" /> + <TextView android:id="@+id/price_text" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="¥9.9" - android:textSize="40sp" + android:text="9.9" + android:textSize="30sp" android:textColor="#F9EBC6" android:layout_marginTop="0dp" android:layout_marginLeft="150dp" @@ -84,9 +98,9 @@ android:text="次月起12元/月" android:textSize="14sp" android:textColor="#CCCCCC" - android:layout_marginTop="-30dp" + android:layout_marginTop="10dp" android:background="@android:color/transparent" - app:layout_constraintTop_toBottomOf="@id/price_text" + app:layout_constraintTop_toBottomOf="@id/title_text" app:layout_constraintStart_toStartOf="parent" /> <!-- Auto Renew Text --> @@ -143,6 +157,7 @@ android:textColor="#FFFFFF" android:padding="4dp" android:elevation="4dp" + android:textSize="10sp" android:background="@drawable/round_red_bg" /> </androidx.cardview.widget.CardView> \ No newline at end of file -- Gitblit v1.9.3