I'm developing chat app like Facebook messenger where I need to create input keyboard like Facebook messenger app provides.
Primarily I thought I should do it using tab layout with view pager. On github I found one third party library which provides custom keyboard with emoji.
After seeing this library I get confused that weather I should create custom keyboard or follow simple tab layout and view pager to achieve this kind of keyboard.
What is good approach to design this kind of keyboard?
Edit:
- I found Input Method Framework provided by Android platform which allow to create custom keyboard, but in messenger app as I seen for text they are using default keyboard and for only sticker/emoji there is replacement of default keyboard happening.
- Android 7.1 now providing CommitContent API to use rich content using keyboards universally, still I'm not able to figure out how can I switch between default keyboard and custom keyboard?
Check out below the library:
https://github.com/ankushsachdeva/emojicon
This is not 100% solution for you but can get idea about how to create keyboard like facebook messanger.