From 49f4b178d05c69f7da7b2200f394ece296766bdb Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期二, 25 二月 2025 18:03:45 +0800 Subject: [PATCH] fix 提醒样式处理 --- 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 9a3d6a7..bc776fe 100644 --- a/app/src/main/res/navigation/mobile_navigation.xml +++ b/app/src/main/res/navigation/mobile_navigation.xml @@ -21,5 +21,19 @@ android:id="@+id/navigation_notifications" android:name="com.example.firstapp.ui.notifications.NotificationsFragment" android:label="@string/title_notifications" - tools:layout="@layout/fragment_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" /> + </fragment> + + <fragment + android:id="@+id/reminderSettingsFragment" + android:name="com.example.firstapp.ui.reminder.ReminderSettingsFragment" + android:label="设置提醒" + tools:layout="@layout/fragment_reminder_settings" /> </navigation> \ No newline at end of file -- Gitblit v1.9.3