Files
packages_apps_Settings/res/xml/accessibility_settings.xml
Dianne Hackborn 00453157ae Add "large text" accessibility option.
Also re-arrange the UI a bit to clearly put the button for
enabling/disabiling accessibility services along-side said
services.

Change-Id: Ica1ddecddf6e97800909ba6bea9ce4e124b59c01
2011-06-23 16:36:43 -07:00

62 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/accessibility_settings_title">
<CheckBoxPreference
android:key="toggle_large_text_checkbox"
android:title="@string/toggle_large_text_title"
android:persistent="false"/>
<PreferenceCategory android:key="accessibility_services_category"
android:title="@string/accessibility_services_category">
<CheckBoxPreference
android:key="toggle_accessibility_service_checkbox"
android:title="@string/toggle_accessibility_title"
android:persistent="false"
android:order="-10000"/>
<CheckBoxPreference
android:key="toggle_accessibility_script_injection_checkbox"
android:title="@string/accessibility_script_injection_enabled"
android:summary="@string/accessibility_script_injection_enabled_summary"
android:persistent="false"
android:order="10000" />
</PreferenceCategory>
<PreferenceCategory android:key="power_button_category"
android:title="@string/accessibility_power_button_category">
<CheckBoxPreference
android:key="power_button_ends_call"
android:title="@string/accessibility_power_button_ends_call"
android:summary="@string/accessibility_power_button_ends_call_summary"
android:persistent="false" />
</PreferenceCategory>
<PreferenceCategory android:key="touchscreen_gestures_category"
android:title="@string/touchscreen_gestures_category">
<ListPreference android:key="long_press_timeout_list_preference"
android:title="@string/long_press_timeout_selector_title"
android:summary="@string/long_press_timeout_selector_summary"
android:persistent="true"
android:entries="@array/long_press_timeout_selector_titles"
android:entryValues="@array/long_press_timeout_selector_values"
android:defaultValue="@string/long_press_timeout_selector_default_value"/>
</PreferenceCategory>
</PreferenceScreen>