summaryrefslogtreecommitdiffstats
path: root/res/xml/accessibility_daltonizer_settings.xml
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2013-10-02 16:36:33 -0700
committerAlan Viverette <alanv@google.com>2013-10-02 16:36:33 -0700
commitfc0ab213b8637f4d9177ff5f08c4fdc155bbb941 (patch)
tree9757f2118586005c2f1fc9f42dd2543d5e5bbd19 /res/xml/accessibility_daltonizer_settings.xml
parentf654f192b952d58bf1e817c833083b9244d65c2a (diff)
downloadpackages_apps_Settings-fc0ab213b8637f4d9177ff5f08c4fdc155bbb941.zip
packages_apps_Settings-fc0ab213b8637f4d9177ff5f08c4fdc155bbb941.tar.gz
packages_apps_Settings-fc0ab213b8637f4d9177ff5f08c4fdc155bbb941.tar.bz2
Add accessibility display adjustments to Settings
This will be redesigned soon, but for now it allows access to quick setting tiles for testing display adjustments. BUG: 9057596 Change-Id: I4b760487b2fe0a336b188930306000e5dfc01951
Diffstat (limited to 'res/xml/accessibility_daltonizer_settings.xml')
-rw-r--r--res/xml/accessibility_daltonizer_settings.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/xml/accessibility_daltonizer_settings.xml b/res/xml/accessibility_daltonizer_settings.xml
new file mode 100644
index 0000000..2e8ad34
--- /dev/null
+++ b/res/xml/accessibility_daltonizer_settings.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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"
+ android:title="@string/accessibility_display_daltonizer_preference_title" >
+
+ <CheckBoxPreference
+ android:key="enable_quick_setting"
+ android:persistent="false"
+ android:title="@string/enable_quick_setting" />
+
+ <ListPreference
+ android:entries="@array/daltonizer_type_entries"
+ android:entryValues="@array/daltonizer_type_values"
+ android:key="type"
+ android:persistent="false"
+ android:summary="%s"
+ android:title="@string/daltonizer_type" />
+
+</PreferenceScreen>