From 57d1ff885c981283758d355856012b16b4c7bc5e Mon Sep 17 00:00:00 2001
From: zhujie <leon.zhu@cloudroam.com.cn>
Date: 星期三, 26 三月 2025 18:00:38 +0800
Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/FirstApp2
---
app/src/main/res/navigation/mobile_navigation.xml | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/app/src/main/res/navigation/mobile_navigation.xml b/app/src/main/res/navigation/mobile_navigation.xml
index 59c1e00..fcb8587 100644
--- a/app/src/main/res/navigation/mobile_navigation.xml
+++ b/app/src/main/res/navigation/mobile_navigation.xml
@@ -43,12 +43,26 @@
</fragment>
+<!-- <fragment-->
+<!-- android:id="@+id/reminderSettingsFragment"-->
+<!-- android:name="com.example.firstapp.ui.reminder.ReminderSettingsFragment"-->
+<!-- android:label="设置提醒"-->
+<!-- tools:layout="@layout/fragment_reminder_settings" />-->
<fragment
android:id="@+id/reminderSettingsFragment"
android:name="com.example.firstapp.ui.reminder.ReminderSettingsFragment"
android:label="设置提醒"
- tools:layout="@layout/fragment_reminder_settings" />
+ tools:layout="@layout/fragment_reminder_settings">
+ <!-- 可以添加 popUpTo 属性来指定返回时的目标 -->
+ <action
+ android:id="@+id/action_reminderSettings_to_notifications"
+ app:popUpTo="@id/navigation_notifications"
+ app:enterAnim="@anim/nav_default_enter_anim"
+ app:exitAnim="@anim/nav_default_exit_anim"
+ app:popEnterAnim="@anim/nav_default_pop_enter_anim"
+ app:popExitAnim="@anim/nav_default_pop_exit_anim" />
+ </fragment>
<fragment
--
Gitblit v1.9.3