aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-09-26 22:26:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-26 22:26:26 -0700
commitb9c0ed59d0b1565eafbe34d7e38bee7564dbe3fd (patch)
tree993855c6cf3e057ececdf212ff74e9bc5e58501f /java/res/xml
parentb3671b58280b13337533bba385296810e81ff7be (diff)
parent3a2b90357ce056765d5c9d6dec0335c308e21717 (diff)
downloadlatinime-b9c0ed59d0b1565eafbe34d7e38bee7564dbe3fd.tar.gz
latinime-b9c0ed59d0b1565eafbe34d7e38bee7564dbe3fd.tar.xz
latinime-b9c0ed59d0b1565eafbe34d7e38bee7564dbe3fd.zip
am 3a2b9035: Merge "Add Debug Settings Activity" into gingerbread
Merge commit '3a2b90357ce056765d5c9d6dec0335c308e21717' into gingerbread-plus-aosp * commit '3a2b90357ce056765d5c9d6dec0335c308e21717': Add Debug Settings Activity
Diffstat (limited to 'java/res/xml')
-rw-r--r--java/res/xml/prefs.xml16
-rw-r--r--java/res/xml/prefs_for_debug.xml45
2 files changed, 45 insertions, 16 deletions
diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml
index a554ad27b..7bcf19334 100644
--- a/java/res/xml/prefs.xml
+++ b/java/res/xml/prefs.xml
@@ -51,14 +51,6 @@
android:defaultValue="true"
/>
- <!-- <CheckBoxPreference
- android:key="enable_logging"
- android:title="@string/prefs_enable_log"
- android:summary="@string/prefs_description_log"
- android:persistent="true"
- android:defaultValue="false"
- />-->
-
<ListPreference
android:key="settings_key"
android:title="@string/prefs_settings_key"
@@ -77,14 +69,6 @@
android:defaultValue="@string/voice_mode_main"
/>
- <!-- <ListPreference
- android:key="keyboard_layout"
- android:title="@string/keyboard_layout"
- android:persistent="true"
- android:entryValues="@array/keyboard_layout_modes_values"
- android:entries="@array/keyboard_layout_modes"
- android:defaultValue="4"
- />-->
<PreferenceScreen
android:title="@string/language_selection_title"
diff --git a/java/res/xml/prefs_for_debug.xml b/java/res/xml/prefs_for_debug.xml
new file mode 100644
index 000000000..8177d3c6a
--- /dev/null
+++ b/java/res/xml/prefs_for_debug.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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/prefs_debug_mode"
+ android:key="english_ime_debug_settings">
+
+ <CheckBoxPreference
+ android:key="enable_logging"
+ android:title="@string/prefs_enable_log"
+ android:summary="@string/prefs_description_log"
+ android:persistent="true"
+ android:defaultValue="false"
+ />
+
+ <ListPreference
+ android:key="pref_keyboard_layout_20100902"
+ android:title="@string/keyboard_layout"
+ android:persistent="true"
+ android:entryValues="@array/keyboard_layout_modes_values"
+ android:entries="@array/keyboard_layout_modes"
+ android:defaultValue="4"
+ />
+
+ <CheckBoxPreference
+ android:key="debug_mode"
+ android:title="@string/prefs_debug_mode"
+ android:persistent="true"
+ android:defaultValue="false"
+ />
+
+</PreferenceScreen>