From 16f4d336d47a3529be46066189c357b7515e5a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Richter?= Date: Sun, 14 Jun 2026 12:17:58 +0200 Subject: [PATCH] Fix navigation drawer not switching screens on first launch introduction_view was a second content child of DrawerLayout (no layout_gravity). Showing then hiding it on first launch broke DrawerLayout touch handling, so taps on menu rows closed the drawer instead of selecting the item, and onNavigationItemSelected never fired. Wrap the content and the intro overlay in a single FrameLayout so DrawerLayout has exactly one content child plus the NavigationView drawer. Layout-only change. Fixes #373 --- app/src/main/res/layout/activity_main.xml | 32 ++++++++++++++--------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 2322ad5f..d3b46cc6 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -9,6 +9,10 @@ android:layout_height="match_parent" tools:keep="@layout/activity_main"> + + @@ -49,19 +53,6 @@ - - + + + + \ No newline at end of file