Implement Tooltips widget for QS panel
- Show the illustration and QS tile label text - Dynamic update popup window width by content - Support the auto close timer API Bug: 210353709 Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingsTooltipWindowTest Change-Id: I8e0d3ff4ef6a48a54ef1e80724002d2cd28d7ac3
This commit is contained in:
@@ -296,6 +296,10 @@
|
||||
<dimen name="accessibility_icon_size">32dp</dimen>
|
||||
<dimen name="accessibility_icon_foreground_size">18dp</dimen>
|
||||
|
||||
<!-- Accessibility quick settings tooltips -->
|
||||
<dimen name="accessibility_qs_tooltips_margin">20dp</dimen>
|
||||
<dimen name="accessibility_qs_tooltips_margin_top">27dp</dimen>
|
||||
|
||||
<!-- Restricted icon in switch bar -->
|
||||
<dimen name="restricted_icon_margin_end">16dp</dimen>
|
||||
<!-- Restricted icon size in switch bar -->
|
||||
|
@@ -5581,6 +5581,8 @@
|
||||
<string name="accessibility_service_primary_switch_title">Use <xliff:g id="accessibility_app_name" example="TalkBack">%1$s</xliff:g></string>
|
||||
<!-- Used in the accessibility service settings to open the activity. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_service_primary_open_title">Open <xliff:g id="accessibility_app_name" example="TalkBack">%1$s</xliff:g></string>
|
||||
<!-- Used in the accessibility service settings to show quick settings tooltips. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_service_quick_settings_tooltips_content">Swipe down to quickly turn <xliff:g id="accessibility_app_name" example="TalkBack">%1$s</xliff:g> on or off in quick settings</string>
|
||||
<!-- Used in the Color correction settings screen to control turning on/off the feature entirely [CHAR LIMIT=60] -->
|
||||
<string name="accessibility_daltonizer_primary_switch_title">Use color correction</string>
|
||||
<!-- Title for accessibility shortcut preference for color correction. [CHAR LIMIT=60] -->
|
||||
|
Reference in New Issue
Block a user