mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Update limits
This commit is contained in:
parent
2aac5ccfc3
commit
c992bc0849
@ -47,8 +47,8 @@
|
||||
<dimen name="config_key_preview_offset_lxx">50.0dp</dimen>
|
||||
<dimen name="config_key_preview_height_lxx">122dp</dimen>
|
||||
<fraction name="config_key_preview_text_ratio">82%</fraction>
|
||||
<fraction name="config_key_letter_ratio_holo">55%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">55%</fraction>
|
||||
<fraction name="config_key_letter_ratio_holo">66%</fraction>
|
||||
<fraction name="config_key_letter_ratio_lxx">66%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_holo">65%</fraction>
|
||||
<fraction name="config_key_large_letter_ratio_lxx">90%</fraction>
|
||||
<fraction name="config_key_label_ratio_holo">34%</fraction>
|
||||
@ -65,7 +65,7 @@
|
||||
|
||||
<!-- For 5-row keyboard -->
|
||||
<fraction name="config_key_vertical_gap_5row">3.20%p</fraction>
|
||||
<fraction name="config_key_letter_ratio_5row">55%</fraction>
|
||||
<fraction name="config_key_letter_ratio_5row">66%</fraction>
|
||||
<fraction name="config_key_shifted_letter_hint_ratio_5row">41%</fraction>
|
||||
|
||||
<dimen name="config_suggestions_strip_height">40dp</dimen>
|
||||
|
@ -399,7 +399,7 @@ public final class MainKeyboardView extends KeyboardView implements DrawingProxy
|
||||
|
||||
mSpaceKey = keyboard.getKey(Constants.CODE_SPACE);
|
||||
final int keyHeight = keyboard.mMostCommonKeyHeight - keyboard.mVerticalGap;
|
||||
mLanguageOnSpacebarTextSize = keyHeight * mLanguageOnSpacebarTextRatio;
|
||||
mLanguageOnSpacebarTextSize = Math.min(keyHeight, keyboard.mMostCommonKeyWidth) * mLanguageOnSpacebarTextRatio;
|
||||
|
||||
if (AccessibilityUtils.getInstance().isAccessibilityEnabled()) {
|
||||
if (mAccessibilityDelegate == null) {
|
||||
|
@ -226,7 +226,7 @@ fun ThemePicker(onSelected: (ThemeOption) -> Unit) {
|
||||
SettingSlider(
|
||||
title = "Keyboard Height",
|
||||
setting = KeyboardHeightMultiplierSetting,
|
||||
range = 0.1f .. 2.0f, transform = { it },
|
||||
range = 0.33f .. 1.75f, transform = { it },
|
||||
indicator = { "${(it * 100.0f).roundToInt()}%" }
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user