diff options
author | Kunhung Li <kunhungli@google.com> | 2020-12-09 11:57:03 +0800 |
---|---|---|
committer | Kunhung Li <kunhungli@google.com> | 2020-12-10 20:22:19 +0800 |
commit | c2e9406079ff846bf8a64597c346042525372646 (patch) | |
tree | 67a09587d75fea11f20e77f86f4775375df5b5a4 /res/values | |
parent | d7f75a303b4af0008ecdc5275ea258a4485842c7 (diff) | |
download | ThemePicker-c2e9406079ff846bf8a64597c346042525372646.tar.gz |
Fix TalkBack can't say in "Name your style" page
Override getAccessibilityTitle() and define related
accessibility strings to let TakbackBack speak out
each custom style page.
Video:
https://drive.google.com/file/d/1dOBKrfmr7PkrPLTp0XQta3co1GQpSdeN/view?usp=sharing&resourcekey=0-CW-4b9ZT5eMAEWmnqVnlNw
Bug: 174213366
Test: Manual
Change-Id: Ic41b5d0e6df43fbccfc2e31c7b9fce9a50b95f89
Diffstat (limited to 'res/values')
-rwxr-xr-x | res/values/strings.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 55de455a..929bd4e0 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -212,4 +212,19 @@ <!-- Bottom sheet dialog which displaying different theme's info. [CHAR_LIMIT=80] --> <string name="style_info_description">Preview of font, icons, app shape, and color</string> + + <!-- Accessibility for custom style font page [CHAR_LIMIT=50] --> + <string name="accessibility_custom_font_title">Custom font</string> + + <!-- Accessibility for custom style icon page [CHAR_LIMIT=50] --> + <string name="accessibility_custom_icon_title">Custom icon</string> + + <!-- Accessibility for custom style color page [CHAR_LIMIT=50] --> + <string name="accessibility_custom_color_title">Custom color</string> + + <!-- Accessibility for custom style shape page [CHAR_LIMIT=50] --> + <string name="accessibility_custom_shape_title">Custom shape</string> + + <!-- Accessibility for custom style name page [CHAR_LIMIT=50] --> + <string name="accessibility_custom_name_title">Custom style name</string> </resources> |