From 63c8a619df5202ae56c414f82a6ab45dcf159d47 Mon Sep 17 00:00:00 2001 From: ibrahimcanerdogan Date: Sun, 21 Jan 2024 16:50:51 +0300 Subject: [PATCH 1/4] Drawer layout added. --- .idea/deploymentTargetSelector.xml | 4 +- app/build.gradle | 3 +- .../ibrahimcanerdogan/nves/HomeActivity.kt | 131 +++--------- .../nves/view/fragment/NewsFragment.kt | 187 ++++++++++++++++++ .../main/res/drawable/background_banner.jpg | Bin 0 -> 6076 bytes app/src/main/res/drawable/icon_location.xml | 9 + app/src/main/res/drawable/icon_menu.xml | 9 + app/src/main/res/drawable/icon_review.xml | 9 + app/src/main/res/drawable/icon_share.xml | 9 + app/src/main/res/layout/activity_home.xml | 80 ++++---- app/src/main/res/layout/fragment_news.xml | 43 ++++ app/src/main/res/layout/layout_drawer.xml | 24 +++ .../main/res/layout/layout_header_drawer.xml | 30 +++ app/src/main/res/menu/navigation_drawer.xml | 35 ++++ .../main/res/navigation/navigation_graph.xml | 13 ++ app/src/main/res/values-night/themes.xml | 7 + app/src/main/res/values/strings.xml | 4 + app/src/main/res/values/themes.xml | 7 + gradle/libs.versions.toml | 2 + 19 files changed, 455 insertions(+), 151 deletions(-) create mode 100644 app/src/main/java/com/ibrahimcanerdogan/nves/view/fragment/NewsFragment.kt create mode 100644 app/src/main/res/drawable/background_banner.jpg create mode 100644 app/src/main/res/drawable/icon_location.xml create mode 100644 app/src/main/res/drawable/icon_menu.xml create mode 100644 app/src/main/res/drawable/icon_review.xml create mode 100644 app/src/main/res/drawable/icon_share.xml create mode 100644 app/src/main/res/layout/fragment_news.xml create mode 100644 app/src/main/res/layout/layout_drawer.xml create mode 100644 app/src/main/res/layout/layout_header_drawer.xml create mode 100644 app/src/main/res/menu/navigation_drawer.xml create mode 100644 app/src/main/res/navigation/navigation_graph.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 158c243..a55a46e 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -15,10 +15,10 @@