mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-16 15:02:48 +00:00
increase default height with number row enabled
This commit is contained in:
parent
ab9701d483
commit
3ec8315d03
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ public final class ResourceUtils {
|
|||
|
||||
public static int getDefaultKeyboardHeight(final Resources res, final boolean showsNumberRow) {
|
||||
final DisplayMetrics dm = res.getDisplayMetrics();
|
||||
final float keyboardHeight = res.getDimension(R.dimen.config_default_keyboard_height) * (showsNumberRow ? 1.25f : 1f);
|
||||
final float keyboardHeight = res.getDimension(R.dimen.config_default_keyboard_height) * (showsNumberRow ? 1.33f : 1f);
|
||||
final float maxKeyboardHeight = res.getFraction(
|
||||
R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels);
|
||||
float minKeyboardHeight = res.getFraction(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue