From be5829165f7cd49216971d22e39b8eae16fad915 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期二, 25 三月 2025 14:06:19 +0800 Subject: [PATCH] 1.阿里支付 --- app/src/main/res/layout/fragment_notifications.xml | 38 +++++++++++++++++++++++++++++--------- 1 files changed, 29 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/fragment_notifications.xml b/app/src/main/res/layout/fragment_notifications.xml index 7a1cb46..d0b76ad 100644 --- a/app/src/main/res/layout/fragment_notifications.xml +++ b/app/src/main/res/layout/fragment_notifications.xml @@ -76,6 +76,7 @@ app:cardElevation="4dp"> <LinearLayout + android:id="@+id/linearVipContainer" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/black" @@ -88,21 +89,40 @@ android:layout_weight="1" android:orientation="vertical"> - <TextView - android:layout_width="wrap_content" + <!-- 第一行:VIP标题 + 有效期 --> + <LinearLayout + android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="VIP会员" - android:textColor="#B8741A" - android:textSize="18sp" - android:textStyle="bold" /> + android:orientation="horizontal" + android:gravity="center_vertical"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="VIP会员 " + android:textColor="#B8741A" + android:textSize="18sp" + android:textStyle="bold"/> + + <!-- 添加间隔 --> + + <TextView + android:id="@+id/tv_vip_expire" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="#FFD700" + android:textSize="14sp"/> + </LinearLayout> + + <!-- 第二行:续费提示(上移调整) --> <TextView - android:id="@+id/tv_vip_expire" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4dp" - android:textColor="#FFD700" - android:textSize="14sp" /> + android:text="续费畅享更多会员权益" + android:textColor="#B8741A" + android:textSize="12sp" + android:textStyle="bold"/> </LinearLayout> <Button -- Gitblit v1.9.3