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
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 917c666..730db4b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -11811,8 +11811,14 @@
<string name="one_handed_mode_swipe_down_category">Swipe down to</string>
<!-- Category title for one handed use the shortcut [CHAR_LIMIT=60] -->
<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] -->
- <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] -->
<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] -->
diff --git a/res/xml/one_handed_settings.xml b/res/xml/one_handed_settings.xml
index 523cf4d..7406993 100644
--- a/res/xml/one_handed_settings.xml
+++ b/res/xml/one_handed_settings.xml
@@ -22,6 +22,10 @@
android:persistent="false"
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
android:key="one_handed_header"
settings:searchable="false"
@@ -33,10 +37,6 @@
settings:keywords="@string/keywords_one_handed"
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
android:key="gesture_one_handed_mode_swipe_down"
android:title="@string/one_handed_mode_swipe_down_category"
@@ -46,13 +46,18 @@
android:key="gesture_one_handed_action_pull_screen_down"
android:title="@string/one_handed_action_pull_down_screen_title"
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
android:key="gesture_one_handed_action_show_notification"
android:title="@string/one_handed_action_show_notification_title"
android:summary="@string/one_handed_action_show_notification_summary"
settings:controller="com.android.settings.gestures.OneHandedActionShowNotificationPrefController"/>
-
</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>