Polish humanize strings for one-handed mode page

- Add an intro for purpose or behavior
- Update footer description on usage, availability, or limitations

Bug: 218408813
Test: manual testing
Change-Id: I1712a3dcc08bf71ca8caf4097a23d465156bec22
This commit is contained in:
menghanli
2022-02-14 09:26:36 +08:00
parent 2164070f4a
commit bc67cf5102
2 changed files with 18 additions and 7 deletions

View File

@@ -11811,8 +11811,14 @@
<string name="one_handed_mode_swipe_down_category">Swipe down to</string> <string name="one_handed_mode_swipe_down_category">Swipe down to</string>
<!-- Category title for one handed use the shortcut [CHAR_LIMIT=60] --> <!-- Category title for one handed use the shortcut [CHAR_LIMIT=60] -->
<string name="one_handed_mode_use_shortcut_category">Use the shortcut to</string> <string name="one_handed_mode_use_shortcut_category">Use the shortcut to</string>
<!-- One-handed mode intro Text [CHAR_LIMIT=NONE] -->
<string name="one_handed_mode_intro_text">Pull down the top half of your screen so it\u2019s easier to reach with one hand</string>
<!-- One-handed mode Intro Text [CHAR_LIMIT=NONE] --> <!-- One-handed mode Intro Text [CHAR_LIMIT=NONE] -->
<string name="one_handed_mode_intro_text">To use one handed mode, swipe down from the bottom edge of the screen. To use this feature, make sure gesture navigation is turned on in system navigation settings.</string> <string name="one_handed_mode_footer_text">
<b>How to use one-handed mode</b>\n
• Make sure gesture navigation is selected in system navigation settings\n
• Swipe down near the bottom edge of the screen
</string>
<!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=60] --> <!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=60] -->
<string name="one_handed_action_pull_down_screen_title">Pull screen into reach</string> <string name="one_handed_action_pull_down_screen_title">Pull screen into reach</string>
<!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=NONE] --> <!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=NONE] -->

View File

@@ -22,6 +22,10 @@
android:persistent="false" android:persistent="false"
android:title="@string/one_handed_title"> android:title="@string/one_handed_title">
<com.android.settingslib.widget.TopIntroPreference
android:key="gesture_one_handed_mode_intro"
android:title="@string/one_handed_mode_intro_text"/>
<com.android.settingslib.widget.IllustrationPreference <com.android.settingslib.widget.IllustrationPreference
android:key="one_handed_header" android:key="one_handed_header"
settings:searchable="false" settings:searchable="false"
@@ -33,10 +37,6 @@
settings:keywords="@string/keywords_one_handed" settings:keywords="@string/keywords_one_handed"
settings:controller="com.android.settings.gestures.OneHandedMainSwitchPreferenceController"/> settings:controller="com.android.settings.gestures.OneHandedMainSwitchPreferenceController"/>
<com.android.settingslib.widget.TopIntroPreference
android:key="gesture_one_handed_mode_intro_text"
android:title="@string/one_handed_mode_intro_text"/>
<PreferenceCategory <PreferenceCategory
android:key="gesture_one_handed_mode_swipe_down" android:key="gesture_one_handed_mode_swipe_down"
android:title="@string/one_handed_mode_swipe_down_category" android:title="@string/one_handed_mode_swipe_down_category"
@@ -46,13 +46,18 @@
android:key="gesture_one_handed_action_pull_screen_down" android:key="gesture_one_handed_action_pull_screen_down"
android:title="@string/one_handed_action_pull_down_screen_title" android:title="@string/one_handed_action_pull_down_screen_title"
android:summary="@string/one_handed_action_pull_down_screen_summary" android:summary="@string/one_handed_action_pull_down_screen_summary"
settings:controller="com.android.settings.gestures.OneHandedActionPullDownPrefController"/> settings:controller="com.android.settings.gesture_one_handed_mode_footer_textgestures.OneHandedActionPullDownPrefController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference <com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="gesture_one_handed_action_show_notification" android:key="gesture_one_handed_action_show_notification"
android:title="@string/one_handed_action_show_notification_title" android:title="@string/one_handed_action_show_notification_title"
android:summary="@string/one_handed_action_show_notification_summary" android:summary="@string/one_handed_action_show_notification_summary"
settings:controller="com.android.settings.gestures.OneHandedActionShowNotificationPrefController"/> settings:controller="com.android.settings.gestures.OneHandedActionShowNotificationPrefController"/>
</PreferenceCategory> </PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:key="one_handed_mode_footer"
android:title="@string/one_handed_mode_footer_text"
android:selectable="false"
settings:searchable="false"/>
</PreferenceScreen> </PreferenceScreen>