From acb5be78c07b8499d0a38515b05a4982207c1c9a Mon Sep 17 00:00:00 2001
From: zhujie <leon.zhu@cloudroam.com.cn>
Date: 星期五, 18 四月 2025 15:24:16 +0800
Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/FirstApp2
---
app/src/main/res/layout/fragment_notifications.xml | 88 ++++++++++++++++++++++++++++++++++++++++---
1 files changed, 81 insertions(+), 7 deletions(-)
diff --git a/app/src/main/res/layout/fragment_notifications.xml b/app/src/main/res/layout/fragment_notifications.xml
index d0b76ad..6af008d 100644
--- a/app/src/main/res/layout/fragment_notifications.xml
+++ b/app/src/main/res/layout/fragment_notifications.xml
@@ -19,6 +19,27 @@
android:layout_height="32dp"
android:scaleType="centerCrop" />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="25dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <ImageView
+ android:id="@+id/iv_setting"
+ android:layout_width="28dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dp"
+ android:contentDescription="设置"
+ android:src="@mipmap/setting" />
+ </LinearLayout>
+
+
<!-- 用户信息区域 - 减小padding -->
<RelativeLayout
android:id="@+id/layout_user_info"
@@ -99,19 +120,28 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="VIP会员 "
+ android:text="VIP会员"
android:textColor="#B8741A"
- android:textSize="18sp"
+ android:textSize="16sp"
android:textStyle="bold"/>
<!-- 添加间隔 -->
+ <View
+ android:layout_width="6dp"
+ android:layout_height="0dp"/>
<TextView
android:id="@+id/tv_vip_expire"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:textColor="#FFD700"
- android:textSize="14sp"/>
+ android:layout_weight="1"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:textColor="#F2F2F2"
+ android:textSize="12sp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground"/>
</LinearLayout>
<!-- 第二行:续费提示(上移调整) -->
@@ -120,7 +150,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="续费畅享更多会员权益"
- android:textColor="#B8741A"
+ android:textColor="#F0DCBF"
android:textSize="12sp"
android:textStyle="bold"/>
</LinearLayout>
@@ -131,7 +161,7 @@
android:layout_height="wrap_content"
android:backgroundTint="#7A441E"
android:text="立即续费"
- android:textColor="#FFFFFF" />
+ android:textColor="#F0DCBF" />
</LinearLayout>
</androidx.cardview.widget.CardView>
@@ -156,6 +186,50 @@
android:paddingHorizontal="8dp"
android:paddingVertical="4dp">
+<!-- <!– 会员 –>-->
+<!-- <RelativeLayout-->
+<!-- android:id="@+id/memberVip"-->
+<!-- style="@style/PluginPay"-->
+<!-- android:padding="16dp">-->
+
+<!-- <TextView-->
+<!-- android:layout_width="wrap_content"-->
+<!-- android:layout_height="wrap_content"-->
+<!-- android:layout_centerVertical="true"-->
+<!-- android:text="会员"-->
+<!-- android:textColor="@android:color/black"-->
+<!-- android:textSize="16sp" />-->
+
+<!-- <ImageView-->
+<!-- android:layout_width="24dp"-->
+<!-- android:layout_height="24dp"-->
+<!-- android:layout_alignParentEnd="true"-->
+<!-- android:layout_centerVertical="true"-->
+<!-- android:src="@drawable/right_forward" />-->
+<!-- </RelativeLayout>-->
+
+<!-- <!– 支付 –>-->
+<!-- <RelativeLayout-->
+<!-- android:id="@+id/payPlugin"-->
+<!-- style="@style/PluginPay"-->
+<!-- android:padding="16dp">-->
+
+<!-- <TextView-->
+<!-- android:layout_width="wrap_content"-->
+<!-- android:layout_height="wrap_content"-->
+<!-- android:layout_centerVertical="true"-->
+<!-- android:text="支付"-->
+<!-- android:textColor="@android:color/black"-->
+<!-- android:textSize="16sp" />-->
+
+<!-- <ImageView-->
+<!-- android:layout_width="24dp"-->
+<!-- android:layout_height="24dp"-->
+<!-- android:layout_alignParentEnd="true"-->
+<!-- android:layout_centerVertical="true"-->
+<!-- android:src="@drawable/right_forward" />-->
+<!-- </RelativeLayout>-->
+
<!-- 设置提醒 -->
<LinearLayout
android:id="@+id/layout_reminder"
--
Gitblit v1.9.3