mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove the keyboard popup option by default.
Add an option to mask the sound on keypress preference, and make it false on xlarge terminals by default. bug: 3282448 Change-Id: I747272d9edf854dc229aa620836cfa35a437d13f
This commit is contained in:
parent
7766340cac
commit
6c381b38cc
@ -22,6 +22,7 @@
|
||||
<bool name="config_enable_show_settings_key_option">false</bool>
|
||||
<bool name="config_enable_show_subtype_settings">false</bool>
|
||||
<bool name="config_enable_show_voice_key_option">false</bool>
|
||||
<bool name="config_enable_show_popup_on_keypress_option">false</bool>
|
||||
<bool name="config_candidate_highlight_font_color_enabled">false</bool>
|
||||
<bool name="config_swipe_down_dismiss_keyboard_enabled">false</bool>
|
||||
<bool name="config_sliding_key_input_enabled">false</bool>
|
||||
|
@ -25,6 +25,7 @@
|
||||
<bool name="config_enable_show_settings_key_option">true</bool>
|
||||
<bool name="config_enable_show_subtype_settings">true</bool>
|
||||
<bool name="config_enable_show_voice_key_option">true</bool>
|
||||
<bool name="config_enable_show_popup_on_keypress_option">true</bool>
|
||||
<bool name="config_candidate_highlight_font_color_enabled">true</bool>
|
||||
<bool name="config_swipe_down_dismiss_keyboard_enabled">true</bool>
|
||||
<bool name="config_sliding_key_input_enabled">true</bool>
|
||||
|
@ -134,6 +134,12 @@ public class Settings extends PreferenceActivity
|
||||
if (!showSubtypeSettings) {
|
||||
getPreferenceScreen().removePreference(findPreference(PREF_SUBTYPES));
|
||||
}
|
||||
|
||||
final boolean showPopupOption = getResources().getBoolean(
|
||||
R.bool.config_enable_show_popup_on_keypress_option);
|
||||
if (!showPopupOption) {
|
||||
getPreferenceScreen().removePreference(findPreference(PREF_POPUP_ON));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user