From d9691e20b5b530df5ed26212cc50b5839c7b3db8 Mon Sep 17 00:00:00 2001 From: Alison Cichowlas Date: Tue, 17 Dec 2019 21:50:46 -0500 Subject: [PATCH] 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 --- core/res/res/layout/chooser_grid_preview_text.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/res/res/layout/chooser_grid_preview_text.xml b/core/res/res/layout/chooser_grid_preview_text.xml index 5998cff71dfdf..025d1016dd9f2 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"/>