Make portrait bubbled keyboard height dynamic based on bubble height.

This commit is contained in:
Cody Henthorne 2021-06-14 15:35:10 -04:00
parent 908f952893
commit 0d0ee753df

View file

@ -229,7 +229,8 @@ public class KeyboardAwareLinearLayout extends LinearLayoutCompat {
private int getKeyboardPortraitHeight() {
if (isBubble) {
return getRootView().getHeight() - minCustomKeyboardTopMarginPortrait;
int height = getRootView().getHeight();
return height - (int)(height * 0.45);
}
int keyboardHeight = PreferenceManager.getDefaultSharedPreferences(getContext())