aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/prefs_screen_debug.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-07-23 16:50:58 -0700
committerTadashi G. Takaoka <takaoka@google.com>2014-07-23 17:09:46 -0700
commita270ac4a61ff64f5d262a212b0bf4c128d3ce8d7 (patch)
tree22d05699191bca746ad1e7209bb3146cea6f4d41 /java/res/xml/prefs_screen_debug.xml
parent3f513f107ef0754da2b1c704167325151ce9b7ea (diff)
downloadlatinime-a270ac4a61ff64f5d262a212b0bf4c128d3ce8d7.tar.gz
latinime-a270ac4a61ff64f5d262a212b0bf4c128d3ce8d7.tar.xz
latinime-a270ac4a61ff64f5d262a212b0bf4c128d3ce8d7.zip
Remove unnecessary DebugSettingsActivity, use fragment directly
This CL must be checked in together with I1db2e848ab. Bug: 16522808 Change-Id: I08a1b0c300c504def609cbb53462d215d1ead15c
Diffstat (limited to 'java/res/xml/prefs_screen_debug.xml')
-rw-r--r--java/res/xml/prefs_screen_debug.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/java/res/xml/prefs_screen_debug.xml b/java/res/xml/prefs_screen_debug.xml
new file mode 100644
index 000000000..ae29a8a82
--- /dev/null
+++ b/java/res/xml/prefs_screen_debug.xml
@@ -0,0 +1,68 @@
+<?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"
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+ android:title="@string/prefs_debug_mode"
+ android:key="english_ime_debug_settings"
+>
+ <CheckBoxPreference
+ android:key="debug_mode"
+ android:title="@string/prefs_debug_mode"
+ android:defaultValue="false"
+ android:persistent="true" />
+ <CheckBoxPreference
+ android:key="force_non_distinct_multitouch"
+ android:title="@string/prefs_force_non_distinct_multitouch"
+ android:defaultValue="false"
+ android:persistent="true" />
+ <CheckBoxPreference
+ android:key="pref_sliding_key_input_preview"
+ android:title="@string/sliding_key_input_preview"
+ android:summary="@string/sliding_key_input_preview_summary"
+ android:defaultValue="true"
+ android:persistent="true" />
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:key="pref_key_longpress_timeout"
+ android:title="@string/prefs_key_longpress_timeout_settings"
+ latin:minValue="@integer/config_min_longpress_timeout"
+ latin:maxValue="@integer/config_max_longpress_timeout"
+ latin:stepValue="@integer/config_longpress_timeout_step" />
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:key="pref_key_preview_show_up_start_scale"
+ android:title="@string/prefs_key_popup_show_up_start_scale_settings"
+ latin:maxValue="100" /> <!-- percent -->
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:key="pref_key_preview_dismiss_end_scale"
+ android:title="@string/prefs_key_popup_dismiss_end_scale_settings"
+ latin:maxValue="100" /> <!-- percent -->
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:key="pref_key_preview_show_up_duration"
+ android:title="@string/prefs_key_popup_show_up_duration_settings"
+ latin:maxValue="100" /> <!-- milliseconds -->
+ <com.android.inputmethod.latin.settings.SeekBarDialogPreference
+ android:key="pref_key_preview_dismiss_duration"
+ android:title="@string/prefs_key_popup_dismiss_duration_settings"
+ latin:maxValue="100" /> <!-- milliseconds -->
+ <PreferenceScreen
+ android:key="read_external_dictionary"
+ android:title="@string/prefs_read_external_dictionary" />
+ <PreferenceCategory
+ android:key="pref_key_dump_dictionaries"
+ android:title="@string/prefs_dump_dynamic_dicts">
+ </PreferenceCategory>
+</PreferenceScreen>