From 0c8f40f7e55dc6afe3cef9e06e6afa6a6ae2d76c Mon Sep 17 00:00:00 2001 From: Reimar Date: Wed, 23 Apr 2025 10:26:10 +0200 Subject: [PATCH] Make building work, add bottom navigation view --- app/.idea/.name | 1 + app/.idea/AndroidProjectSystem.xml | 6 + app/.idea/codeStyles/Project.xml | 123 ++++++++++++++++++ app/.idea/codeStyles/codeStyleConfig.xml | 5 + app/.idea/compiler.xml | 2 +- app/.idea/gradle.xml | 2 + app/.idea/migrations.xml | 10 ++ app/.idea/misc.xml | 3 +- app/.idea/runConfigurations.xml | 17 +++ app/app/build.gradle.kts | 10 ++ app/app/src/main/AndroidManifest.xml | 31 +++-- .../tech/mercantec/easyeat/MainActivity.kt | 35 +++++ .../easyeat/ui/dashboard/DashboardFragment.kt | 42 ++++++ .../ui/dashboard/DashboardViewModel.kt | 13 ++ .../mercantec/easyeat/ui/home/HomeFragment.kt | 42 ++++++ .../easyeat/ui/home/HomeViewModel.kt | 13 ++ .../ui/notifications/NotificationsFragment.kt | 42 ++++++ .../notifications/NotificationsViewModel.kt | 13 ++ .../res/drawable/ic_dashboard_black_24dp.xml | 9 ++ .../main/res/drawable/ic_home_black_24dp.xml | 9 ++ .../drawable/ic_notifications_black_24dp.xml | 9 ++ app/app/src/main/res/layout/activity_main.xml | 33 +++++ .../main/res/layout/fragment_dashboard.xml | 22 ++++ app/app/src/main/res/layout/fragment_home.xml | 22 ++++ .../res/layout/fragment_notifications.xml | 22 ++++ app/app/src/main/res/menu/bottom_nav_menu.xml | 19 +++ .../main/res/navigation/mobile_navigation.xml | 25 ++++ app/app/src/main/res/values/dimens.xml | 5 + app/app/src/main/res/values/strings.xml | 4 + app/gradle/libs.versions.toml | 16 ++- app/gradle/wrapper/gradle-wrapper.properties | 2 +- 31 files changed, 592 insertions(+), 15 deletions(-) create mode 100644 app/.idea/.name create mode 100644 app/.idea/AndroidProjectSystem.xml create mode 100644 app/.idea/codeStyles/Project.xml create mode 100644 app/.idea/codeStyles/codeStyleConfig.xml create mode 100644 app/.idea/migrations.xml create mode 100644 app/.idea/runConfigurations.xml create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/MainActivity.kt create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/ui/dashboard/DashboardFragment.kt create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/ui/dashboard/DashboardViewModel.kt create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/ui/home/HomeFragment.kt create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/ui/home/HomeViewModel.kt create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/ui/notifications/NotificationsFragment.kt create mode 100644 app/app/src/main/java/tech/mercantec/easyeat/ui/notifications/NotificationsViewModel.kt create mode 100644 app/app/src/main/res/drawable/ic_dashboard_black_24dp.xml create mode 100644 app/app/src/main/res/drawable/ic_home_black_24dp.xml create mode 100644 app/app/src/main/res/drawable/ic_notifications_black_24dp.xml create mode 100644 app/app/src/main/res/layout/activity_main.xml create mode 100644 app/app/src/main/res/layout/fragment_dashboard.xml create mode 100644 app/app/src/main/res/layout/fragment_home.xml create mode 100644 app/app/src/main/res/layout/fragment_notifications.xml create mode 100644 app/app/src/main/res/menu/bottom_nav_menu.xml create mode 100644 app/app/src/main/res/navigation/mobile_navigation.xml create mode 100644 app/app/src/main/res/values/dimens.xml diff --git a/app/.idea/.name b/app/.idea/.name new file mode 100644 index 0000000..bbf6602 --- /dev/null +++ b/app/.idea/.name @@ -0,0 +1 @@ +EasyEat \ No newline at end of file diff --git a/app/.idea/AndroidProjectSystem.xml b/app/.idea/AndroidProjectSystem.xml new file mode 100644 index 0000000..4a53bee --- /dev/null +++ b/app/.idea/AndroidProjectSystem.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/app/.idea/codeStyles/Project.xml b/app/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..7643783 --- /dev/null +++ b/app/.idea/codeStyles/Project.xml @@ -0,0 +1,123 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/.idea/codeStyles/codeStyleConfig.xml b/app/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/app/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/app/.idea/compiler.xml b/app/.idea/compiler.xml index b86273d..b589d56 100644 --- a/app/.idea/compiler.xml +++ b/app/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/app/.idea/gradle.xml b/app/.idea/gradle.xml index 6edfe28..639c779 100644 --- a/app/.idea/gradle.xml +++ b/app/.idea/gradle.xml @@ -1,8 +1,10 @@ +