From a0982b39bc7a674c5f8a378b4d599d31ee51d70f Mon Sep 17 00:00:00 2001 From: Yanting Yang Date: Mon, 1 Apr 2019 18:13:17 +0800 Subject: [PATCH] Fix talkback issue which focus on entire grid When there is only one condition card, sometimes talkback will focus on entire grid. In fact, the entire grid is a recycler view which is the container to put all contextual cards. Mark the recycler view with no important for accessibility to fix it. Fixes: 128896302 Test: visual Change-Id: I177fa014ec3208001b3a490dbdf9b6b6195985ea --- res/layout/settings_homepage.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/settings_homepage.xml b/res/layout/settings_homepage.xml index 6e2b302541f..5710bace5eb 100644 --- a/res/layout/settings_homepage.xml +++ b/res/layout/settings_homepage.xml @@ -25,6 +25,7 @@ android:id="@+id/card_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:layoutAnimation="@anim/layout_animation_fade_in"/> + android:layoutAnimation="@anim/layout_animation_fade_in" + android:importantForAccessibility="no"/>