From c467ef77921771d4ee13116ac70c078a1f414850 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 19 Aug 2016 02:35:42 +0200 Subject: [PATCH] Mark drawer items as focusable and clickable (fixes #486) --- src/main/res/layout/fragment_drawer.xml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/main/res/layout/fragment_drawer.xml b/src/main/res/layout/fragment_drawer.xml index 57946f54..ded16b17 100644 --- a/src/main/res/layout/fragment_drawer.xml +++ b/src/main/res/layout/fragment_drawer.xml @@ -22,7 +22,9 @@ android:layout_height="48dp" android:drawableLeft="@drawable/ic_settings_black_24dp" android:drawableStart="@drawable/ic_settings_black_24dp" - android:text="@string/settings_title" /> + android:text="@string/settings_title" + android:clickable="true" + android:focusable="true" /> + android:visibility="gone" + android:clickable="true" + android:focusable="true" /> @@ -67,13 +71,16 @@ android:textAppearance="@style/TextAppearance.AppCompat.Body1" /> + android:drawableEnd="@drawable/ic_content_copy_black_24dp" + android:clickable="true" + android:focusable="true" /> + android:text="@string/web_gui_title" + android:clickable="true" + android:focusable="true" /> + android:text="@string/share_device_id" + android:clickable="true" + android:focusable="true" /> + android:text="@string/restart" + android:clickable="true" + android:focusable="true" />