diff --git a/src/org/thoughtcrime/securesms/components/EmojiDrawer.java b/src/org/thoughtcrime/securesms/components/EmojiDrawer.java index ed5cb15b7c..b37b464bb9 100644 --- a/src/org/thoughtcrime/securesms/components/EmojiDrawer.java +++ b/src/org/thoughtcrime/securesms/components/EmojiDrawer.java @@ -74,7 +74,10 @@ public class EmojiDrawer extends KeyboardAwareLinearLayout { inflater.inflate(R.layout.emoji_drawer, this, true); initializeResources(); - initializeEmojiGrid(); + + if (!this.isInEditMode()) { + initializeEmojiGrid(); + } } private void initializeResources() {