From ce875664e0564f3e26d130a4d3e8b8e9a2e8a368 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 22 Jan 2013 13:29:30 +0900 Subject: [PATCH] Clean up Settings and SettingsFragment a bit Change-Id: I93bf3cb1ea7e8fc09f4ad34b0bdd74f5f5ff1a68 --- java/res/values-sw600dp/config.xml | 4 +- java/res/values-sw768dp/config.xml | 4 +- java/res/values/config.xml | 4 +- java/res/xml/prefs.xml | 2 +- .../android/inputmethod/latin/Settings.java | 46 +++++++++++++++-- .../inputmethod/latin/SettingsFragment.java | 51 +++++++------------ .../inputmethod/latin/SettingsValues.java | 26 ++-------- 7 files changed, 70 insertions(+), 67 deletions(-) diff --git a/java/res/values-sw600dp/config.xml b/java/res/values-sw600dp/config.xml index b47eacb15..9527fd62a 100644 --- a/java/res/values-sw600dp/config.xml +++ b/java/res/values-sw600dp/config.xml @@ -22,10 +22,10 @@ 1 false - false + false false - false + false true false diff --git a/java/res/values-sw768dp/config.xml b/java/res/values-sw768dp/config.xml index 5e7954106..3c2c19855 100644 --- a/java/res/values-sw768dp/config.xml +++ b/java/res/values-sw768dp/config.xml @@ -22,10 +22,10 @@ 2 false - false + false false - false + false true false diff --git a/java/res/values/config.xml b/java/res/values/config.xml index 82166df92..d248a68a6 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -23,11 +23,11 @@ 0 false true - true + true true - true + true true diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index cff7505f4..da6e60107 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -42,7 +42,7 @@ android:key="popup_on" android:title="@string/popup_on_keypress" android:persistent="true" - android:defaultValue="@bool/config_default_popup_preview" /> + android:defaultValue="@bool/config_default_key_preview_popup" />