aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/prefs.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-05-08 12:04:36 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-05-12 10:59:10 +0900
commit59c3ef1ff8df23e3c3e3f549c0289c479553c666 (patch)
treef5c1750af142867cc46b78874e713a0e4c39e130 /java/res/xml/prefs.xml
parent6b74f516dcfb7b6c8008054490db117341e5332b (diff)
downloadlatinime-59c3ef1ff8df23e3c3e3f549c0289c479553c666.tar.gz
latinime-59c3ef1ff8df23e3c3e3f549c0289c479553c666.tar.xz
latinime-59c3ef1ff8df23e3c3e3f549c0289c479553c666.zip
Refactor KeyboardTheme
This CL introduces two preference keys in addition to the existing one. - pref_keyboard_theme: The new preference key that is used only in the preference settings. - pref_keyboard_layout_20110916: The previous preference key that holds keyboard color scheme settings. This is superseded by the next key. - pref_keyboard_theme_20140509: The new preference key that holds keyboard theme settings. This value is forcibly reset to LMP theme on a LMP device. On a KitKat and previous device, the settings of the pref_keyboard_layout_20110916 is carried on into this preference. This CL must be checked in together with Id7b3ddd8aa. Change-Id: I2d55602d026e30b38d8f822d2124f5c5e4a9a812
Diffstat (limited to 'java/res/xml/prefs.xml')
-rw-r--r--java/res/xml/prefs.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml
index 7d86dbd5d..61ebb6992 100644
--- a/java/res/xml/prefs.xml
+++ b/java/res/xml/prefs.xml
@@ -158,12 +158,11 @@
android:persistent="true"
android:defaultValue="false" />
<ListPreference
- android:key="pref_keyboard_layout_20110916"
+ android:key="pref_keyboard_theme"
android:title="@string/keyboard_color_scheme"
android:persistent="true"
android:entryValues="@array/keyboard_theme_ids"
- android:entries="@array/keyboard_theme_names"
- android:defaultValue="@string/config_default_keyboard_theme_id" />
+ android:entries="@array/keyboard_theme_names" />
<PreferenceScreen
android:fragment="com.android.inputmethod.latin.settings.AdditionalSubtypeSettings"
android:key="custom_input_styles"