This solution was built When I was working in WeChat, what is used for resolving the layout conflict when you switch between the keyboard and the emoji-panel/function-panel. JKeyboardPanelSwitch can help you handle the keyboard and panel layout conflict in Android. If you want to import a snapshot version, we have already published the snapshot version to the sonatype so you can import the snapshot version. We recommend cloning the demo project and run it, I has already covered cases as much as possible in the demo project.