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/navigation/mobile_navigation.xml | 28 ---------------------------- 1 files changed, 0 insertions(+), 28 deletions(-) diff --git a/app/src/main/res/navigation/mobile_navigation.xml b/app/src/main/res/navigation/mobile_navigation.xml index fcb8587..bd4637d 100644 --- a/app/src/main/res/navigation/mobile_navigation.xml +++ b/app/src/main/res/navigation/mobile_navigation.xml @@ -24,13 +24,6 @@ android:name="com.example.firstapp.ui.notifications.NotificationsFragment" android:label="@string/title_notifications" tools:layout="@layout/fragment_notifications" > - <action - android:id="@+id/action_navigation_notifications_to_reminderSettingsFragment" - app:destination="@id/reminderSettingsFragment" - 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" /> <!-- 新增的action,跳转到 ReminderSettingsFragmentOther --> <action @@ -41,27 +34,6 @@ app:popEnterAnim="@anim/nav_default_pop_enter_anim" app:popExitAnim="@anim/nav_default_pop_exit_anim" /> - </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"> - - <!-- 可以添加 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> -- Gitblit v1.9.3