diff --git a/java/res/values-xlarge/bools.xml b/java/res/values-xlarge/bools.xml new file mode 100644 index 000000000..fe8fc5838 --- /dev/null +++ b/java/res/values-xlarge/bools.xml @@ -0,0 +1,23 @@ + + + + + false + diff --git a/java/res/values/bools.xml b/java/res/values/bools.xml index a0cebbb94..f5f2c3d0e 100644 --- a/java/res/values/bools.xml +++ b/java/res/values/bools.xml @@ -26,4 +26,6 @@ true true + + true diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index e77155d50..d2166f7f5 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -29,6 +29,9 @@ Sound on keypress + + Popup on keypress + Correct typing errors diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index e4c689aa8..11cc3ac42 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -30,6 +30,13 @@ android:persistent="true" /> + + 0 || mShowSuggestions); checkTutorial(attribute.privateImeOptions); @@ -2295,6 +2298,7 @@ public class LatinIME extends InputMethodService SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this); mVibrateOn = sp.getBoolean(PREF_VIBRATE_ON, false); mSoundOn = sp.getBoolean(PREF_SOUND_ON, false); + mPopupOn = sp.getBoolean(PREF_POPUP_ON, true); mAutoCap = sp.getBoolean(PREF_AUTO_CAP, true); mQuickFixes = sp.getBoolean(PREF_QUICK_FIXES, true); mHasUsedVoiceInput = sp.getBoolean(PREF_HAS_USED_VOICE_INPUT, false); @@ -2421,6 +2425,7 @@ public class LatinIME extends InputMethodService p.println(" TextEntryState.state=" + TextEntryState.getState()); p.println(" mSoundOn=" + mSoundOn); p.println(" mVibrateOn=" + mVibrateOn); + p.println(" mPopupOn=" + mPopupOn); } // Characters per second measurement