diff options
author | 2014-07-27 15:41:09 +0900 | |
---|---|---|
committer | 2014-07-28 19:24:41 +0900 | |
commit | 9bdcb131602aa614db37d817d7fe1220ab6271b8 (patch) | |
tree | 62019e46893d26532a9a8cff8b9a4726c0aef54b /java/res/xml/prefs.xml | |
parent | 9ba854133cf06b28111980908373e173a8b26938 (diff) | |
download | latinime-9bdcb131602aa614db37d817d7fe1220ab6271b8.tar.gz latinime-9bdcb131602aa614db37d817d7fe1220ab6271b8.tar.xz latinime-9bdcb131602aa614db37d817d7fe1220ab6271b8.zip |
Use fragment for advanced preference screen
Bug: 16522808
Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
Diffstat (limited to 'java/res/xml/prefs.xml')
-rw-r--r-- | java/res/xml/prefs.xml | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index fc79bd05c..66091a03d 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -41,37 +41,7 @@ android:title="@string/settings_screen_correction" android:key="screen_correction" /> <PreferenceScreen + android:fragment="com.android.inputmethod.latin.settings.AdvancedSettingsFragment" android:title="@string/settings_screen_advanced" - android:key="screen_advanced"> - <!-- TODO: consolidate key preview dismiss delay with the key preview animation parameters. --> - <ListPreference - android:key="pref_key_preview_popup_dismiss_delay" - android:title="@string/key_preview_popup_dismiss_delay" /> - <com.android.inputmethod.latin.settings.SeekBarDialogPreference - android:key="pref_vibration_duration_settings" - android:title="@string/prefs_keypress_vibration_duration_settings" - latin:maxValue="@integer/config_max_vibration_duration" /> - <com.android.inputmethod.latin.settings.SeekBarDialogPreference - android:key="pref_keypress_sound_volume" - android:title="@string/prefs_keypress_sound_volume_settings" - latin:maxValue="100" /> <!-- percent --> - <!-- The settigs for showing setup wizard application icon shouldn't be persistent and - the default value is added programmatically. --> - <CheckBoxPreference - android:key="pref_show_setup_wizard_icon" - android:title="@string/show_setup_wizard_icon" - android:summary="@string/show_setup_wizard_icon_summary" /> - <!-- title will be set programmatically to embed application name --> - <CheckBoxPreference - android:key="pref_enable_metrics_logging" - android:summary="@string/enable_metrics_logging_summary" - android:defaultValue="true" - android:persistent="true" /> - <PreferenceScreen - android:fragment="com.android.inputmethod.latin.settings.DebugSettingsFragment" - android:key="screen_debug" - android:title="Debug settings" - android:defaultValue="false" - android:persistent="true" /> - </PreferenceScreen> + android:key="screen_advanced" /> </PreferenceScreen> |