From 799e341c2e52c990a79c772dca9e9c0574e0abce Mon Sep 17 00:00:00 2001 From: Erdeni Erdyneev Date: Thu, 6 Oct 2016 12:37:50 +0700 Subject: [PATCH] Switch default width and height --- lib/src/github/ankushsachdeva/emojicon/EmojiconsPopup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/github/ankushsachdeva/emojicon/EmojiconsPopup.java b/lib/src/github/ankushsachdeva/emojicon/EmojiconsPopup.java index d328efc..ccb8e2f 100644 --- a/lib/src/github/ankushsachdeva/emojicon/EmojiconsPopup.java +++ b/lib/src/github/ankushsachdeva/emojicon/EmojiconsPopup.java @@ -80,7 +80,7 @@ public EmojiconsPopup(View rootView, Context mContext){ setContentView(customView); setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); //default size - setSize((int) mContext.getResources().getDimension(R.dimen.keyboard_height), LayoutParams.MATCH_PARENT); + setSize(LayoutParams.MATCH_PARENT, (int) mContext.getResources().getDimension(R.dimen.keyboard_height)); } /** * Set the listener for the event of keyboard opening or closing.