From 90c84a243990f8e62b77fd6668589b515269f507 Mon Sep 17 00:00:00 2001 From: Arne Date: Wed, 10 Apr 2024 09:14:09 +0200 Subject: [PATCH] adjust default picker view height --- .../eu/siacs/conversations/ui/ConversationFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index b6cddaae66..2e5265ed54 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -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);