From d4216c017c26695ebc569ea7b811918cbbea3b06 Mon Sep 17 00:00:00 2001 From: renhaoting <370797079@qq.com> Date: Wed, 31 Dec 2025 11:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=B8=E9=A9=BB=E9=80=9A=E7=9F=A5=E5=B8=83?= =?UTF-8?q?=E5=B1=80=20icon=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../builder/NotificationDataFactory.kt | 2 +- .../layout/layout_notification_resident.xml | 117 ++++++++++----- .../layout_notification_resident_12.xml | 136 +++++++++++++----- notification/src/main/res/values/strings.xml | 2 +- 4 files changed, 183 insertions(+), 74 deletions(-) diff --git a/notification/src/main/java/com/remax/notification/builder/NotificationDataFactory.kt b/notification/src/main/java/com/remax/notification/builder/NotificationDataFactory.kt index 7a803fc..64af477 100644 --- a/notification/src/main/java/com/remax/notification/builder/NotificationDataFactory.kt +++ b/notification/src/main/java/com/remax/notification/builder/NotificationDataFactory.kt @@ -379,7 +379,7 @@ class ResidentModelManger { it.putExtra(LANDING_NOTIFICATION_FROM, NotificationCheckController.NotificationType.RESIDENT.string) }) .setOnClickPendingIntent( - R.id.resident_withdraw, entryPointPendingIntent(context, + R.id.resident_cash, entryPointPendingIntent(context, type2notificationId[NotificationType.RESIDENT_WITHDRAW] ?: 0 ) { it.putExtra(LANDING_NOTIFICATION_ACTION, PushContent.ACTION_TYPE_WITHDRAW) diff --git a/notification/src/main/res/layout/layout_notification_resident.xml b/notification/src/main/res/layout/layout_notification_resident.xml index bc6554c..a2f56f2 100644 --- a/notification/src/main/res/layout/layout_notification_resident.xml +++ b/notification/src/main/res/layout/layout_notification_resident.xml @@ -6,56 +6,107 @@ android:background="@drawable/noti_bg_r16_white" android:gravity="center_vertical" android:orientation="horizontal" - android:padding="12dp" + android:padding="5dp" tools:ignore="ResourceName"> - - + android:layout_weight="1"> + - + + + + + android:layout_weight="1"> + - + + + + + android:layout_weight="1"> + - + + + + android:layout_weight="1"> + + - diff --git a/notification/src/main/res/layout/layout_notification_resident_12.xml b/notification/src/main/res/layout/layout_notification_resident_12.xml index 1c1cb4a..ad2dbc1 100644 --- a/notification/src/main/res/layout/layout_notification_resident_12.xml +++ b/notification/src/main/res/layout/layout_notification_resident_12.xml @@ -1,66 +1,124 @@ - - - + android:layout_weight="1"> + - + + + + + android:layout_weight="1"> + - + + + + + android:layout_weight="1"> + - + + + + android:layout_weight="1"> + + + - diff --git a/notification/src/main/res/values/strings.xml b/notification/src/main/res/values/strings.xml index c81c177..fab7897 100644 --- a/notification/src/main/res/values/strings.xml +++ b/notification/src/main/res/values/strings.xml @@ -14,7 +14,7 @@ Olá! Não perca seus R$ %s. Toque para sacar! - + Game\n \ No newline at end of file