mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 77144a64
: Merge "Retain Emoji Keyboard after rotation"
* commit '77144a645f693fd0d73fd2cbe378997c7a339006': Retain Emoji Keyboard after rotation
This commit is contained in:
commit
319eb1c363
@ -75,9 +75,7 @@ public class EmojiLayoutParams {
|
||||
|
||||
public void setActionBarProperties(LinearLayout ll) {
|
||||
final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams();
|
||||
lp.height = mEmojiActionBarHeight;
|
||||
lp.topMargin = 0;
|
||||
lp.bottomMargin = mBottomPadding;
|
||||
lp.height = mEmojiActionBarHeight - mBottomPadding;
|
||||
ll.setLayoutParams(lp);
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
||||
}
|
||||
|
||||
public void saveKeyboardState() {
|
||||
if (getKeyboard() != null) {
|
||||
if (getKeyboard() != null || isShowingEmojiKeyboard()) {
|
||||
mState.onSaveKeyboardState();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user