Make portrait bubbled keyboard height dynamic based on bubble height.
This commit is contained in:
parent
908f952893
commit
0d0ee753df
1 changed files with 2 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue