summaryrefslogtreecommitdiff
path: root/java/res/layout
diff options
context:
space:
mode:
author Andrey Yepin <ayepin@google.com> 2025-01-10 11:28:37 -0800
committer Andrey Yepin <ayepin@google.com> 2025-01-14 14:38:52 -0800
commitb4558f65a5cbd709678d1368b94c4e66167bca87 (patch)
tree466efea44d064a92b312561a398489453286cbde /java/res/layout
parenteffd3e6c1bba8d5d5ce8047b9a1e455816fcd4b3 (diff)
Present target grid as hierarchical for a11y purposes.
Present target grid as hierarchical for a11y purposes. This makes TalkBack to announce sub-groups of targets. Fix: 379208685 Test: Manual test for the following cases: (i) all group present (shortcuts, suggested, all-apps), (ii) shortcuts are missing -- the no-target message is shown, (iii) no suggested targets. Flag: com.android.intentresolver.announce_shortcuts_and_suggested_apps Change-Id: If08e9bcccab9db423c5b67c759bc0854d290e880
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/chooser_row.xml1
-rw-r--r--java/res/layout/chooser_row_direct_share.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/java/res/layout/chooser_row.xml b/java/res/layout/chooser_row.xml
index bbe65a85..3fe1ee7d 100644
--- a/java/res/layout/chooser_row.xml
+++ b/java/res/layout/chooser_row.xml
@@ -18,6 +18,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
+ android:id="@+id/suggested_apps_container"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="100dp"
diff --git a/java/res/layout/chooser_row_direct_share.xml b/java/res/layout/chooser_row_direct_share.xml
index d7e36eed..53e666a6 100644
--- a/java/res/layout/chooser_row_direct_share.xml
+++ b/java/res/layout/chooser_row_direct_share.xml
@@ -17,6 +17,7 @@
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/shortcuts_container"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="200dp">