Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85420f3c authored by menghanli's avatar menghanli
Browse files

Polish humanize strings for Accessibility autoclick page

- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations
- Remove the divider below illustration
- Remove custom divider

Bug: 218409017
Test: Manual testing
Change-Id: I45ab1d06bf4f49ab48a820aedfc89eafc24b17fe
parent d920ad50
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -5453,10 +5453,12 @@
    <string name="accessibility_autoclick_about_title">About autoclick (dwell timing)</string>
    <!-- Accessibility dwell timing footer link content description [CHAR LIMIT=NONE] -->
    <string name="accessibility_autoclick_footer_learn_more_content_description">Learn more about autoclick (dwell timing)</string>
    <!-- Footer text to explain what autoclick does -->
    <string name="accessibility_autoclick_description">Autoclick works with a connected mouse. You can set the mouse cursor to click automatically when the cursor stops moving for a certain amount of time.</string>
    <!-- Intro text to explain what autoclick does. [CHAR LIMIT=NONE] -->
    <string name="accessibility_autoclick_intro_text">You can set a connected mouse to click automatically when the cursor stops moving for a certain amount of time</string>
    <!-- Footer text to explain what autoclick does. [CHAR LIMIT=NONE] -->
    <string name="accessibility_autoclick_description">Autoclick can be helpful if clicking the mouse is difficult</string>
    <!-- Option heading to leave the auto click requirement for accessibility users at its default level. [CHAR LIMIT=50] -->
    <string name="accessibility_autoclick_default_title">Off</string>
    <string name="accessibility_autoclick_default_title">Autoclick off</string>
    <!-- Option heading to leave the auto click requirement for accessibility users at its short level. [CHAR LIMIT=35] -->
    <string name="accessibility_autoclick_short_title">Short</string>
    <!-- Option summary text for the auto click delay 0.2 seconds radio button. [CHAR LIMIT=35] -->
+6 −4
Original line number Diff line number Diff line
@@ -19,18 +19,21 @@
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:title="@string/accessibility_autoclick_preference_title">

    <com.android.settingslib.widget.TopIntroPreference
        android:key="accessibility_autoclick_intro"
        android:persistent="false"
        android:title="@string/accessibility_autoclick_intro_text" />

    <com.android.settingslib.widget.IllustrationPreference
        android:key="accessibility_autoclick_banner"
        android:persistent="false"
        android:selectable="false"
        settings:allowDividerBelow="true"
        settings:searchable="false"
        settings:lottie_rawRes="@drawable/accessibility_dwell" />

    <com.android.settingslib.widget.SelectorWithWidgetPreference
        android:key="accessibility_control_autoclick_default"
        android:title="@string/accessibility_autoclick_default_title"
        settings:allowDividerAbove="true" />
        android:title="@string/accessibility_autoclick_default_title" />

    <com.android.settingslib.widget.SelectorWithWidgetPreference
        android:key="accessibility_control_autoclick_200ms"
@@ -56,7 +59,6 @@
        android:layout="@layout/accessibility_autoclick_custom_seekbar"
        android:selectable="false"
        android:visibility="gone"
        settings:allowDividerBelow="true"
        settings:controller="com.android.settings.accessibility.ToggleAutoclickCustomSeekbarController" />

    <com.android.settings.accessibility.AccessibilityFooterPreference