summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2010-12-15 11:52:57 -0800
committerMichael Kolb <kolby@google.com>2010-12-15 11:53:02 -0800
commit376b54116e38b3b94c4d64663d1bff38352b0e59 (patch)
tree97d9f406203b494b7dc529d17d8728858942d3ad /res/xml
parent439c9a58765aa6aab95d55422ee61ea8360e912d (diff)
downloadpackages_apps_Browser-376b54116e38b3b94c4d64663d1bff38352b0e59.zip
packages_apps_Browser-376b54116e38b3b94c4d64663d1bff38352b0e59.tar.gz
packages_apps_Browser-376b54116e38b3b94c4d64663d1bff38352b0e59.tar.bz2
Add quick controls
Bug: http://b/issue?id=3277888 Added Quick Controls Lab setting Implemented Quick Controls UI Change-Id: I72011daf9140aa5d15c8b785126867c10bbc5501
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/lab_preferences.xml26
-rw-r--r--res/xml/preference_headers.xml5
2 files changed, 31 insertions, 0 deletions
diff --git a/res/xml/lab_preferences.xml b/res/xml/lab_preferences.xml
new file mode 100644
index 0000000..2168471
--- /dev/null
+++ b/res/xml/lab_preferences.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 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" >
+
+ <CheckBoxPreference
+ android:key="enable_quick_controls"
+ android:defaultValue="false"
+ android:title="@string/pref_lab_quick_controls"
+ android:summary="@string/pref_lab_quick_controls_summary" />
+
+</PreferenceScreen>
diff --git a/res/xml/preference_headers.xml b/res/xml/preference_headers.xml
index 1a54990..8533a3a 100644
--- a/res/xml/preference_headers.xml
+++ b/res/xml/preference_headers.xml
@@ -35,4 +35,9 @@
<header android:fragment="com.android.browser.preferences.AdvancedPreferencesFragment"
android:title="@string/pref_extras_title"
/>
+
+ <header android:fragment="com.android.browser.preferences.LabPreferencesFragment"
+ android:title="@string/pref_lab_title"
+ />
+
</preference-headers>