Support accessibility shorcut secondary action (3/n)

Combine the UI with both shortcut preference and edit dialog.

This CL only contains UI and related connections.
Related logic implementation will be added in next CL.

Since the drawable resources are not ready, put the mock
drawables as temporary. Once the drawbles are provided by UX,
create a CL to replace the related resources.

Bug: 142530063
Bug: 142531156
Test: Maunal
Change-Id: I21e4c6e99c2d1731c15d7c9553594160b8809eb5
This commit is contained in:
Kevin Chang
2019-12-13 09:55:04 +08:00
parent 64295adb27
commit e65ed3ebb0
10 changed files with 226 additions and 10 deletions

View File

@@ -4784,6 +4784,16 @@
<string name="accessibility_tutorial_dialog_message_gesture_settings_with_talkback">To turn an accessibility service on or off, swipe up from the bottom of the screen with three fingers.\n\nTo switch between services, swipe up with three fingers and hold.</string>
<!-- Button for the Accessibility tutorial dialog to dismiss the dialog when user clicks it. [CHAR LIMIT=10] -->
<string name="accessibility_tutorial_dialog_button">Got it</string>
<!-- Title for accessibility shortcut preference for accessibility apps. [CHAR LIMIT=40] -->
<string name="accessibility_shortcut_title">Use shortcut to open</string>
<!-- Title for accessibility shortcut preference for magnification. [CHAR LIMIT=40] -->
<string name="accessibility_magnification_shortcut_title">Use shortcut to magnify</string>
<!-- Title for Accessibility edit shortcut dialog. [CHAR LIMIT=40] -->
<string name="accessibility_shortcut_edit_dialog_title">Shortcut to open <xliff:g id="service" example="Select to Speak">%1$s</xliff:g></string>
<!-- Title for Accessibility edit shortcut dialog in Magnify. [CHAR LIMIT=40] -->
<string name="accessibility_shortcut_edit_dialog_title_magnification">Shortcut to magnify</string>
<!-- Title for Accessibility edit shortcut dialog in Color correction. [CHAR LIMIT=40] -->
<string name="accessibility_shortcut_edit_dialog_title_daltonizer">Shortcut to open Color correction</string>
<!-- Title for software shortcut in Accessibility edit shortcut dialog. [CHAR LIMIT=NONE] -->
<string name="accessibility_shortcut_edit_dialog_title_software">Accessibility Button</string>
<!-- Title for software shortcut in gesture mode in Accessibility edit shortcut dialog. [CHAR LIMIT=NONE] -->