From 23bd5be378482939077322cf3d86a8f8779deca7 Mon Sep 17 00:00:00 2001 From: Abodunrinwa Toki Date: Mon, 25 Apr 2016 17:21:03 +0100 Subject: [PATCH] Make Settings dashboard items focusable. Bug: 27038246 Change-Id: Ied76fc546cacf1dafa4744dfc6e229f249a209d3 --- res/layout/condition_card.xml | 4 +++- res/layout/dashboard_tile.xml | 1 + res/layout/see_all.xml | 1 + res/layout/suggestion_header.xml | 1 + res/layout/suggestion_tile.xml | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/res/layout/condition_card.xml b/res/layout/condition_card.xml index 4ddb084ee63..5c82c7e9b9b 100644 --- a/res/layout/condition_card.xml +++ b/res/layout/condition_card.xml @@ -28,7 +28,8 @@ android:paddingStart="16dp" android:background="?android:attr/colorAccent" android:elevation="2dp" - android:clickable="true"> + android:clickable="true" + android:focusable="true"> diff --git a/res/layout/dashboard_tile.xml b/res/layout/dashboard_tile.xml index 2f87909ef97..d05af834956 100644 --- a/res/layout/dashboard_tile.xml +++ b/res/layout/dashboard_tile.xml @@ -21,6 +21,7 @@ android:gravity="center_vertical" android:minHeight="@dimen/dashboard_tile_minimum_height" android:clickable="true" + android:focusable="true" android:background="@drawable/selectable_card" android:elevation="@dimen/dashboard_category_elevation" > diff --git a/res/layout/see_all.xml b/res/layout/see_all.xml index af68036f8a0..56405bb3fd2 100644 --- a/res/layout/see_all.xml +++ b/res/layout/see_all.xml @@ -21,6 +21,7 @@ android:gravity="center_vertical" android:minHeight="@dimen/dashboard_tile_minimum_height" android:clickable="true" + android:focusable="true" android:background="@drawable/selectable_card"> diff --git a/res/layout/suggestion_tile.xml b/res/layout/suggestion_tile.xml index 0b5e65244d4..10c95580fcf 100644 --- a/res/layout/suggestion_tile.xml +++ b/res/layout/suggestion_tile.xml @@ -19,6 +19,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true" + android:focusable="true" android:background="@drawable/selectable_card" android:elevation="@dimen/dashboard_category_elevation" android:orientation="vertical" >