Accessibility feature - settings (replacing 704 and merging with the latest Donut)

This commit is contained in:
svetoslavganov
2009-05-14 22:26:34 -07:00
parent f5255c21f4
commit a05d0dc67e
5 changed files with 353 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
<?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">
<CheckBoxPreference
android:key="toggle_accessibility_service_checkbox"
android:title="@string/toggle_accessibility_title"
android:summaryOn="@string/disable_accessibility_service_summary"
android:summaryOff="@string/enable_accessibility_service_summary"
android:persistent="false"/>
<PreferenceCategory android:key="accessibility_services_category"
android:title="@string/accessibility_services_category" />
</PreferenceScreen>

View File

@@ -115,7 +115,6 @@
android:targetClass="com.android.settings.LanguageSettings" />
</PreferenceScreen>
<!-- Search.
The settings activity will ensure that this is resolved to an
activity on the system image, otherwise it will remove this
@@ -131,6 +130,17 @@
<intent android:action="android.search.action.SEARCH_SETTINGS" />
</PreferenceScreen>
<!-- Accessibility feedback -->
<PreferenceScreen
android:title="@string/accessibility_settings_title"
android:summary="@string/accessibility_settings_summary">
<intent
android:action="android.intent.action.MAIN"
android:targetPackage="com.android.settings"
android:targetClass="com.android.settings.AccessibilitySettings" />
</PreferenceScreen>
<!-- About Device -->
<PreferenceScreen