mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-26 23:14:11 +01:00
adjust default picker view height
This commit is contained in:
parent
63dd8e153d
commit
90c84a2439
1 changed files with 3 additions and 3 deletions
|
@ -744,7 +744,7 @@ public class ConversationFragment extends XmppFragment
|
|||
} else if (binding.emojiButton.getVisibility() == VISIBLE && binding.emojisStickerLayout.getHeight() < 70) {
|
||||
LinearLayout emojipickerview = binding.emojisStickerLayout;
|
||||
ViewGroup.LayoutParams params = emojipickerview.getLayoutParams();
|
||||
params.height = 600;
|
||||
params.height = 800;
|
||||
emojipickerview.setLayoutParams(params);
|
||||
binding.emojiButton.setVisibility(GONE);
|
||||
binding.keyboardButton.setVisibility(VISIBLE);
|
||||
|
@ -4037,7 +4037,7 @@ public class ConversationFragment extends XmppFragment
|
|||
} else if (binding.emojiButton.getVisibility() == VISIBLE && binding.emojisStickerLayout.getHeight() < 70) {
|
||||
LinearLayout emojipickerview = binding.emojisStickerLayout;
|
||||
ViewGroup.LayoutParams params = emojipickerview.getLayoutParams();
|
||||
params.height = 600;
|
||||
params.height = 800;
|
||||
emojipickerview.setLayoutParams(params);
|
||||
binding.emojiButton.setVisibility(GONE);
|
||||
binding.keyboardButton.setVisibility(VISIBLE);
|
||||
|
@ -4934,7 +4934,7 @@ public class ConversationFragment extends XmppFragment
|
|||
emojipickerview.setLayoutParams(params);
|
||||
} else if (binding.keyboardButton.getVisibility() == VISIBLE && keyboardHeight == 0) {
|
||||
binding.emojiButton.setVisibility(GONE);
|
||||
params.height = 600;
|
||||
params.height = 800;
|
||||
emojipickerview.setLayoutParams(params);
|
||||
} else if (binding.keyboardButton.getVisibility() == VISIBLE && keyboardHeight > 70) {
|
||||
binding.emojiButton.setVisibility(GONE);
|
||||
|
|
Loading…
Add table
Reference in a new issue