diff --git a/emojilibrary/src/main/java/com/lqr/emoji/EmotionLayout.java b/emojilibrary/src/main/java/com/lqr/emoji/EmotionLayout.java index da709da7c..e0733b83a 100755 --- a/emojilibrary/src/main/java/com/lqr/emoji/EmotionLayout.java +++ b/emojilibrary/src/main/java/com/lqr/emoji/EmotionLayout.java @@ -158,7 +158,7 @@ private void init() { inflater.inflate(R.layout.emotion_layout, this); // View.inflate(mContext, R.layout.emotion_layout, this); - mVpEmotioin = (ViewPager) findViewById(R.id.vpEmotioin); + mVpEmotioin = (ViewPagerFixed) findViewById(R.id.vpEmotioin); mLlPageNumber = (LinearLayout) findViewById(R.id.llPageNumber); mLlTabContainer = (LinearLayout) findViewById(R.id.llTabContainer); mRlEmotionAdd = (RelativeLayout) findViewById(R.id.rlEmotionAdd);