aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/prefs_screen_correction.xml
diff options
context:
space:
mode:
authorChieu Nguyen <cvnguyen@google.com>2015-03-12 19:39:06 -0700
committerChieu Nguyen <cvnguyen@google.com>2015-03-13 12:21:26 -0700
commit116e58c437526ea2503564317e2731b8126acaa4 (patch)
tree8e396e56a3d648e4828218d27e55ec1c06c3dc1e /java/res/xml/prefs_screen_correction.xml
parent80f90349555ac22f83175e6f19d1ed5e0d673d85 (diff)
downloadlatinime-116e58c437526ea2503564317e2731b8126acaa4.tar.gz
latinime-116e58c437526ea2503564317e2731b8126acaa4.tar.xz
latinime-116e58c437526ea2503564317e2731b8126acaa4.zip
Remove autocorrection aggressiveness settings.
Replace multiple settings with binary switch for autocorrection. Bug: 19589766 Change-Id: Ic8a0362dd36d18930493a55699851161e9cb23e8
Diffstat (limited to 'java/res/xml/prefs_screen_correction.xml')
-rw-r--r--java/res/xml/prefs_screen_correction.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/java/res/xml/prefs_screen_correction.xml b/java/res/xml/prefs_screen_correction.xml
index 020d3afa6..284231bf1 100644
--- a/java/res/xml/prefs_screen_correction.xml
+++ b/java/res/xml/prefs_screen_correction.xml
@@ -41,13 +41,11 @@
android:summary="@string/prefs_block_potentially_offensive_summary"
android:defaultValue="@bool/config_block_potentially_offensive"
android:persistent="true" />
- <ListPreference
- android:key="auto_correction_threshold"
+ <CheckBoxPreference
+ android:key="pref_key_auto_correction"
android:title="@string/auto_correction"
android:summary="@string/auto_correction_summary"
- android:entryValues="@array/auto_correction_threshold_mode_indexes"
- android:entries="@array/auto_correction_threshold_modes"
- android:defaultValue="@string/auto_correction_threshold_mode_index_modest"
+ android:defaultValue="true"
android:persistent="true" />
<CheckBoxPreference
android:key="show_suggestions"