Show subtype settings preference for new design

Change-Id: I6164ab6ae3d97e2095778a4a6fd9f36c508af7b0
main
satok 2011-06-28 21:33:17 +09:00
parent 7fb04fe007
commit b9e56cde8b
2 changed files with 4 additions and 8 deletions

View File

@ -18,6 +18,10 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/english_ime_settings"
android:key="english_ime_settings">
<PreferenceScreen
android:key="subtype_settings"
android:title="@string/language_selection_title"
android:summary="@string/language_selection_summary" />
<PreferenceCategory
android:title="@string/general_category"
android:key="general_settings">
@ -60,10 +64,6 @@
android:entryValues="@array/voice_input_modes_values"
android:entries="@array/voice_input_modes"
android:defaultValue="@string/voice_mode_main" />
<PreferenceScreen
android:key="subtype_settings"
android:title="@string/language_selection_title"
android:summary="@string/language_selection_summary" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/correction_category"

View File

@ -375,10 +375,6 @@ public class Settings extends PreferenceActivity
generalSettings.removePreference(findPreference(PREF_VIBRATE_ON));
}
if (InputMethodServiceCompatWrapper.CAN_HANDLE_ON_CURRENT_INPUT_METHOD_SUBTYPE_CHANGED) {
generalSettings.removePreference(findPreference(PREF_SUBTYPES));
}
final boolean showPopupOption = res.getBoolean(
R.bool.config_enable_show_popup_on_keypress_option);
if (!showPopupOption) {