From 5fc9567cfa6b6beee4f52a9f835f304865d693e1 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 10 四月 2025 18:13:58 +0800
Subject: [PATCH] add: 消息提醒后版本
---
app/src/main/res/layout/fragment_notifications.xml | 103 +++++++++++++++++++++++++++++++--------------------
1 files changed, 62 insertions(+), 41 deletions(-)
diff --git a/app/src/main/res/layout/fragment_notifications.xml b/app/src/main/res/layout/fragment_notifications.xml
index 6e60a3b..82ad433 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"
@@ -110,7 +131,7 @@
android:id="@+id/tv_vip_expire"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="#FFD700"
+ android:textColor="#F2F2F2"
android:textSize="14sp"/>
</LinearLayout>
@@ -120,7 +141,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 +152,7 @@
android:layout_height="wrap_content"
android:backgroundTint="#7A441E"
android:text="立即续费"
- android:textColor="#FFFFFF" />
+ android:textColor="#F0DCBF" />
</LinearLayout>
</androidx.cardview.widget.CardView>
@@ -156,49 +177,49 @@
android:paddingHorizontal="8dp"
android:paddingVertical="4dp">
- <!-- 会员 -->
- <RelativeLayout
- android:id="@+id/memberVip"
- style="@style/PluginPay"
- android:padding="16dp">
+<!-- <!– 会员 –>-->
+<!-- <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" />
+<!-- <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>
+<!-- <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">
+<!-- <!– 支付 –>-->
+<!-- <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" />
+<!-- <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>
+<!-- <ImageView-->
+<!-- android:layout_width="24dp"-->
+<!-- android:layout_height="24dp"-->
+<!-- android:layout_alignParentEnd="true"-->
+<!-- android:layout_centerVertical="true"-->
+<!-- android:src="@drawable/right_forward" />-->
+<!-- </RelativeLayout>-->
<!-- 设置提醒 -->
<LinearLayout
--
Gitblit v1.9.3