From 6f94d984c6097de9f9fae0e1e9895497bb1c9046 Mon Sep 17 00:00:00 2001 From: oogee Date: Fri, 23 Nov 2018 21:03:46 +0200 Subject: [PATCH] hide emoji keyboard when shouting --- .../gr/thmmy/mthmmy/activities/shoutbox/ShoutboxFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/shoutbox/ShoutboxFragment.java b/app/src/main/java/gr/thmmy/mthmmy/activities/shoutbox/ShoutboxFragment.java index 5bf34d6c..0bcf9a75 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/shoutbox/ShoutboxFragment.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/shoutbox/ShoutboxFragment.java @@ -124,7 +124,8 @@ public class ShoutboxFragment extends Fragment { Timber.i("Start sending a shout..."); editorView.setAlpha(0.5f); editorView.setEnabled(false); - emojiKeyboard.setVisibility(View.VISIBLE); + if (emojiKeyboard.isVisible()) + emojiKeyboard.setVisibility(View.GONE); progressBar.setVisibility(View.VISIBLE); }