summaryrefslogtreecommitdiff
path: root/java/res
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-27 14:06:52 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-01-27 14:06:52 -0800
commit03dbce4cdbe6b9de78c87dd4ea2c140aabe0e0fe (patch)
tree68f7c363168ecf52115915b102c53ad74dd125e9 /java/res
parent7e30b930e759334bb32ecb66f2156fde67017ba1 (diff)
parentb4558f65a5cbd709678d1368b94c4e66167bca87 (diff)
Merge "Present target grid as hierarchical for a11y purposes." into main
Diffstat (limited to 'java/res')
-rw-r--r--java/res/layout/chooser_row.xml1
-rw-r--r--java/res/layout/chooser_row_direct_share.xml1
-rw-r--r--java/res/values/strings.xml10
3 files changed, 12 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">
diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml
index 2261a4a8..6504462f 100644
--- a/java/res/values/strings.xml
+++ b/java/res/values/strings.xml
@@ -340,4 +340,14 @@
<string name="selectable_item">Selectable item</string>
<!-- Accessibility role description for a11y on button. [CHAR LIMIT=NONE] -->
<string name="role_description_button">Button</string>
+
+ <!-- Accessibility announcement for the shortcut group (https://developer.android.com/training/sharing/direct-share-targets)
+ in the list of targets. [CHAR LIMIT=NONE]-->
+ <string name="shortcut_group_a11y_title">Direct share targets</string>
+ <!-- Accessibility announcement for the suggested application group in the list of targets.
+ [CHAR LIMIT=NONE] -->
+ <string name="suggested_apps_group_a11y_title">App suggestions</string>
+ <!-- Accessibility announcement for the all-applications group in the list of targets.
+ [CHAR LIMIT=NONE] -->
+ <string name="all_apps_group_a11y_title">App list</string>
</resources>