code: public void showEmojiLayout() {
          hideSoftInput(getContext(), this);
          int keyboardHeight;
          if (mCurrentContentHeight == 0) {
              keyboardHeight = getDefaultEmojiHeight();
              mCurrentContentHeight = mRawLayoutHeight - keyboardHeight;
          } else {
              keyboardHeight = mRawLayoutHeight - mCurrentContentHeight;
          }
  
          LayoutParams contentParams = (LayoutParams) mContentLayout.getLayoutParams();
          contentParams.height = mCurrentContentHeight;
          contentParams.weight = 0;
          LayoutParams emojiParams = (LayoutParams) mEmojiLayout.getLayoutParams();
          emojiParams.height = keyboardHeight;
          emojiParams.weight = 0;
          mEmojiLayout.setVisibility(VISIBLE);
          requestLayout();
          isEmojiLayoutShow = true;
      }
docs: 强制内容和表情布局的高度,这样在键盘弹出的时候,就不会导致布局跳动了