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
This commit is contained in:
Yanting Yang
2019-04-01 18:13:17 +08:00
parent 968b1aaea2
commit a0982b39bc

View File

@@ -25,6 +25,7 @@
android:id="@+id/card_container" android:id="@+id/card_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layoutAnimation="@anim/layout_animation_fade_in"/> android:layoutAnimation="@anim/layout_animation_fade_in"
android:importantForAccessibility="no"/>
</LinearLayout> </LinearLayout>