From 93775e1f3d79a1e11b839abbf24201dafcd9e646 Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期五, 25 四月 2025 13:45:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 app/src/main/res/layout/fragment_notifications.xml |  114 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 104 insertions(+), 10 deletions(-)

diff --git a/app/src/main/res/layout/fragment_notifications.xml b/app/src/main/res/layout/fragment_notifications.xml
index 7a1cb46..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"
@@ -76,6 +97,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 +110,49 @@
                     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="16sp"
+                            android:textStyle="bold"/>
+
+                        <!-- 添加间隔 -->
+                        <View
+                            android:layout_width="6dp"
+                            android:layout_height="0dp"/>
+
+                        <TextView
+                            android:id="@+id/tv_vip_expire"
+                            android:layout_width="0dp"
+                            android:layout_height="wrap_content"
+                            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>
+
+                    <!-- 第二行:续费提示(上移调整) -->
                     <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="#F0DCBF"
+                        android:textSize="12sp"
+                        android:textStyle="bold"/>
                 </LinearLayout>
 
                 <Button
@@ -111,7 +161,7 @@
                     android:layout_height="wrap_content"
                     android:backgroundTint="#7A441E"
                     android:text="立即续费"
-                    android:textColor="#FFFFFF" />
+                    android:textColor="#F0DCBF" />
             </LinearLayout>
         </androidx.cardview.widget.CardView>
 
@@ -136,6 +186,50 @@
             android:paddingHorizontal="8dp"
             android:paddingVertical="4dp">
 
+<!--            &lt;!&ndash; 会员 &ndash;&gt;-->
+<!--            <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>-->
+
+<!--            &lt;!&ndash; 支付 &ndash;&gt;-->
+<!--            <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