summaryrefslogtreecommitdiff
path: root/java/res/values
diff options
context:
space:
mode:
author Andrey Yepin <ayepin@google.com> 2025-02-06 13:06:48 -0800
committer Andrey Yepin <ayepin@google.com> 2025-02-10 10:51:12 -0800
commit3900e0f4e690a507a6cc04a68dcc5c5ce05a9154 (patch)
treed4ff6252f32d5d31154238efd885c8431081bb83 /java/res/values
parent54ce663cd91e966453056a063d13b690fc9d98c8 (diff)
Shareousel: add item position to item content description.
Add known item cursor position to the item content description annotation when showing more than one item. This works well when the data provided by the app is consistent (the expected majority of the cases). The position annotation will be ommited in cases when we show the initially shared items before the cursor is loaded and for the initially shared items that were missing in the cursor. Fix: 379032721 Test: manual testing Flag: com.android.intentresolver.announce_shareousel_item_list_position Change-Id: Ie669db3897961d2cf09a30ef229e10badb501566
Diffstat (limited to 'java/res/values')
-rw-r--r--java/res/values/strings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml
index 6504462f..52b27304 100644
--- a/java/res/values/strings.xml
+++ b/java/res/values/strings.xml
@@ -329,6 +329,9 @@
front of the list by the user. [CHAR LIMIT=NONE] -->
<string name="pinned">Pinned</string>
+ <!-- Accessibility content description, item position label e.g. "Item 1" or "Item 345".
+ [CHAR LIMIT=NONE] -->
+ <string name="item_position_label">Item <xliff:g id="item_position" example="123">%1$d</xliff:g></string>
<!-- Accessibility content description for an image that the user may select for sharing.
[CHAR LIMIT=NONE] -->
<string name="selectable_image">Selectable image</string>