mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
fix(android): Fix the alignment
This commit is contained in:
parent
aa886cecba
commit
ddc994857d
2 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ public class SystemKeyboard extends InputMethodService implements OnKeyboardEven
|
|||
insets.left,
|
||||
insets.top,
|
||||
insets.right,
|
||||
insets.bottom/20); // This still doesn't fix suggestion banner
|
||||
insets.bottom);
|
||||
|
||||
KMManager.applyInsetsToKeyboard(KeyboardType.KEYBOARD_TYPE_SYSTEM, insets.left, insets.right, insets.bottom);
|
||||
return windowInsets;
|
||||
|
|
|
|||
|
|
@ -731,7 +731,7 @@ public final class KMManager {
|
|||
private static void applyInsetsPaddingToKeyboardView(KMKeyboard keyboard, int left, int right, int bottom) {
|
||||
View parent = (View) keyboard.getParent();
|
||||
|
||||
if (parent != null) {
|
||||
if (keyboard.keyboardType == KeyboardType.KEYBOARD_TYPE_INAPP && parent != null) {
|
||||
// Keep existing top padding, add bottom padding for the inset
|
||||
parent.setPadding(
|
||||
left,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue