summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alison Cichowlas <asc@google.com> 2019-12-17 21:50:46 -0500
committer Alison Cichowlas <asc@google.com> 2019-12-17 21:55:33 -0500
commitd9691e20b5b530df5ed26212cc50b5839c7b3db8 (patch)
tree7c4389d41fd336f0569d83d7d377050bd5391d10
parentee9c25e7ea89b6d883fb4d1f61dc249cc0b054b4 (diff)
Make preview text focusable.
Otherwise, the parent item gets focus, and Talkback will read the preview text but perform an Action Row action on click. Bug: 145720818 Test: Manual per bug repro steps Change-Id: I8938606882e121b4a86e9e1723e6fba3c6d75eeb
-rw-r--r--core/res/res/layout/chooser_grid_preview_text.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/res/res/layout/chooser_grid_preview_text.xml b/core/res/res/layout/chooser_grid_preview_text.xml
index 5998cff71dfd..025d1016dd9f 100644
--- a/core/res/res/layout/chooser_grid_preview_text.xml
+++ b/core/res/res/layout/chooser_grid_preview_text.xml
@@ -44,7 +44,8 @@
android:ellipsize="end"
android:fontFamily="@android:string/config_headlineFontFamily"
android:textColor="?android:attr/textColorPrimary"
- android:maxLines="2"/>
+ android:maxLines="2"
+ android:focusable="true"/>
</RelativeLayout>