forked from mirror/monocles_chat_clean
Little emoji picker correction for older devices
This commit is contained in:
parent
fc7546aeb6
commit
a796ebd32b
1 changed files with 3 additions and 4 deletions
|
@ -4292,12 +4292,11 @@ public class ConversationFragment extends XmppFragment
|
|||
params.height = keyboardHeight - 150;
|
||||
emojipickerview.setLayoutParams(params);
|
||||
binding.emojiPicker.setVisibility(VISIBLE);
|
||||
} else if (activity != null ){
|
||||
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
||||
}
|
||||
if (activity != null && !keyboardOpen && binding.emojiButton.getVisibility() == VISIBLE) {
|
||||
} else if (activity != null && !keyboardOpen && binding.emojiButton.getVisibility() == VISIBLE) {
|
||||
binding.emojiPicker.setVisibility(GONE);
|
||||
binding.keyboardButton.setVisibility(GONE);
|
||||
} else if (activity != null ) {
|
||||
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
|
||||
}
|
||||
if (activity != null && activity.xmppConnectionService != null && keyboardOpen && activity.xmppConnectionService.showTextFormatting()) {
|
||||
showTextFormat(me);
|
||||
|
|
Loading…
Add table
Reference in a new issue