aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/prefs.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-07-22 10:18:38 -0700
committerTadashi G. Takaoka <takaoka@google.com>2014-07-27 14:47:07 +0900
commitab661e3ef886a36b02fe094864ae4be6a3260f71 (patch)
tree7a2c8175549d184938d4769c73685673e2d2ad5b /java/res/xml/prefs.xml
parent825243bfdd6fb63c2ef8bf99024bb06e6f52e946 (diff)
downloadlatinime-ab661e3ef886a36b02fe094864ae4be6a3260f71.tar.gz
latinime-ab661e3ef886a36b02fe094864ae4be6a3260f71.tar.xz
latinime-ab661e3ef886a36b02fe094864ae4be6a3260f71.zip
Make "Show correction suggestions" as a binary option
Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
Diffstat (limited to 'java/res/xml/prefs.xml')
-rw-r--r--java/res/xml/prefs.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml
index 6febb3126..7e4c28496 100644
--- a/java/res/xml/prefs.xml
+++ b/java/res/xml/prefs.xml
@@ -144,13 +144,11 @@
android:entries="@array/auto_correction_threshold_modes"
android:defaultValue="@string/auto_correction_threshold_mode_index_modest"
android:persistent="true" />
- <ListPreference
- android:key="show_suggestions_setting"
+ <CheckBoxPreference
+ android:key="show_suggestions"
android:summary="@string/prefs_show_suggestions_summary"
android:title="@string/prefs_show_suggestions"
- android:entryValues="@array/prefs_suggestion_visibility_values"
- android:entries="@array/prefs_suggestion_visibilities"
- android:defaultValue="@string/prefs_suggestion_visibility_default_value"
+ android:defaultValue="true"
android:persistent="true" />
<CheckBoxPreference
android:key="pref_key_use_personalized_dicts"