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_single_month.xml | 33 +++++++++++++++++++++++---------- 1 files changed, 23 insertions(+), 10 deletions(-) diff --git a/app/src/main/res/layout/item_card_single_month.xml b/app/src/main/res/layout/item_card_single_month.xml index 21d888d..739b66c 100644 --- a/app/src/main/res/layout/item_card_single_month.xml +++ b/app/src/main/res/layout/item_card_single_month.xml @@ -3,7 +3,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="160dp" 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" @@ -13,7 +14,7 @@ <androidx.cardview.widget.CardView android:id="@+id/vip_month_card_view" android:layout_width="160dp" - android:layout_height="140dp" + android:layout_height="100dp" android:padding="8dp" android:layout_marginTop="10dp" android:layout_marginEnd="20dp" @@ -30,7 +31,7 @@ android:layout_marginRight="20dp" android:gravity="center" android:orientation="vertical" - android:padding="16dp"> + android:padding="5dp"> <TextView android:id="@+id/single_month_title_text" @@ -41,14 +42,26 @@ android:textColor="#F9EBC6" android:textSize="18sp" /> - <TextView - android:id="@+id/single_month_price_text" + <LinearLayout android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:text="¥15" - android:textColor="#F9EBC6" - android:textSize="40sp" /> + android:layout_height="wrap_content"> + <TextView + android:id="@+id/single_month_price_tag" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="¥" + android:textColor="#F9EBC6" + android:textSize="20sp" /> + <TextView + android:id="@+id/single_month_price_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="15" + android:textColor="#F9EBC6" + android:textSize="30sp" /> + </LinearLayout> </LinearLayout> </androidx.cardview.widget.CardView> -- Gitblit v1.9.3