From d1c774b496b4a98250a62d18d921f46b88c62983 Mon Sep 17 00:00:00 2001 From: MrLetsplay Date: Sun, 18 Jun 2023 22:05:38 +0200 Subject: [PATCH] Better(?) navigation --- .idea/deploymentTargetDropDown.xml | 4 +- .idea/gradle.xml | 1 + .idea/misc.xml | 1 - .../cringe_authenticator/DynamicFragment.java | 7 +++ .../cringe_authenticator/FirstFragment.java | 44 ++++------------- .../cringe_authenticator/MainActivity.java | 49 ++++++++++++++++--- .../cringe_authenticator/MenuFragment.java | 25 ++++++++++ .../cringe_authenticator/NavigationUtil.java | 27 ++++++++++ .../cringe_authenticator/SecondFragment.java | 3 +- .../SettingsFragment.java | 34 +++++++++++++ app/src/main/res/drawable/round_rectangle.xml | 39 +++++++++++++++ app/src/main/res/layout/fragment_menu.xml | 24 +++++++++ app/src/main/res/layout/fragment_settings.xml | 25 ++++++++++ app/src/main/res/menu/menu_main.xml | 3 +- app/src/main/res/navigation/nav_graph.xml | 20 +++++--- 15 files changed, 250 insertions(+), 56 deletions(-) create mode 100644 app/src/main/java/com/cringe_studios/cringe_authenticator/MenuFragment.java create mode 100644 app/src/main/java/com/cringe_studios/cringe_authenticator/NavigationUtil.java create mode 100644 app/src/main/java/com/cringe_studios/cringe_authenticator/SettingsFragment.java create mode 100644 app/src/main/res/drawable/round_rectangle.xml create mode 100644 app/src/main/res/layout/fragment_menu.xml create mode 100644 app/src/main/res/layout/fragment_settings.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml index c1f14b6..3d86911 100644 --- a/.idea/deploymentTargetDropDown.xml +++ b/.idea/deploymentTargetDropDown.xml @@ -7,11 +7,11 @@ - + - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index a9f4e52..a2d7c21 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +