There is a View at the bottom of the input box that displays expressions. Normally, Visibility is GONE. When you need to display expressions, just switch to VISIBLE. Of course, this is the most basic solution. For intermediate and advanced levels, you also need to consider the display and hiding of the input method during the switching process of the input box and emoticon view. In advanced advancement, you also need to consider calculating the height of the input method, switching the interface display in advance, and eliminating changes in the interface during switching.
There is a View at the bottom of the input box that displays expressions. Normally, Visibility is GONE. When you need to display expressions, just switch to VISIBLE.
Of course, this is the most basic solution. For intermediate and advanced levels, you also need to consider the display and hiding of the input method during the switching process of the input box and emoticon view.
In advanced advancement, you also need to consider calculating the height of the input method, switching the interface display in advance, and eliminating changes in the interface during switching.
http://segmentfault.com/a/1190000003850908
Written by myself for reference only. .
Fragment
You can take a look at this Emojicon
1. In a simple way, write View by yourself through popupwindow
2. Through SubWindow