Merge "[A11y Setting] Add keyboard keys preferences under A11y page" into main
This commit is contained in:
@@ -105,6 +105,37 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="physical_keyboard_options_category"
|
||||
android:persistent="false"
|
||||
android:title="@string/keyboard_category_title">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:icon="@drawable/ic_sticky_keys"
|
||||
android:key="toggle_keyboard_sticky_keys"
|
||||
android:persistent="false"
|
||||
android:summary="@string/sticky_keys_summary"
|
||||
android:title="@string/sticky_keys"
|
||||
settings:controller="com.android.settings.accessibility.KeyboardStickyKeyPreferenceController"
|
||||
settings:searchable="true" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:icon="@drawable/ic_bounce_keys"
|
||||
android:key="toggle_keyboard_bounce_keys"
|
||||
android:persistent="false"
|
||||
android:title="@string/bounce_keys"
|
||||
settings:controller="com.android.settings.accessibility.KeyboardBounceKeyPreferenceController"
|
||||
settings:searchable="true" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:icon="@drawable/ic_slow_keys"
|
||||
android:key="toggle_keyboard_slow_keys"
|
||||
android:persistent="false"
|
||||
android:title="@string/slow_keys"
|
||||
settings:controller="com.android.settings.accessibility.KeyboardSlowKeyPreferenceController"
|
||||
settings:searchable="true" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="captions_category"
|
||||
android:persistent="false"
|
||||
|
||||
@@ -43,22 +43,20 @@
|
||||
android:key="keyboard_a11y_category"
|
||||
android:title="@string/keyboard_a11y_category">
|
||||
|
||||
<SwitchPreference
|
||||
<SwitchPreferenceCompat
|
||||
android:key="accessibility_sticky_keys"
|
||||
android:title="@string/sticky_keys"
|
||||
android:summary="@string/sticky_keys_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="accessibility_slow_keys"
|
||||
android:title="@string/slow_keys"
|
||||
android:summary="@string/slow_keys_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<SwitchPreference
|
||||
<SwitchPreferenceCompat
|
||||
android:key="accessibility_bounce_keys"
|
||||
android:title="@string/bounce_keys"
|
||||
android:summary="@string/bounce_keys_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="accessibility_slow_keys"
|
||||
android:title="@string/slow_keys"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
Reference in New Issue
Block a user