From 6b335e64a7e58a37296e50e7e1acc42680ea9e44 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 21 二月 2025 15:08:25 +0800 Subject: [PATCH] 设置 --- 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