:heavy_check_mark: A framework that helps the keyboard smoothly transition to the function panel 一个帮助键盘平稳过渡到功能面板的框架,支持动画无缝衔接,支持 activity/fragment/dialog/dia
README: 中文文档
When developing a chat/video/live/information interface, users are expected to maintain a smooth transition between the input method and the function panel (such as the expression panel/more options panel, etc.). Investigate the mainstream app effects and implementation in the market, and realize a set of input panel switching framework compatible with multiple scenes. Currently the framework has been tested and used.
Weight+LinearLayout to dynamically change the layout height to suit the panel, and support multiple native ViewGroup containersFor more details, please refer to
Demo content is as follows
Download from QR code
The Androidx version runs by default. If you need to open non-Androidx, open the app in Settings.gradle and close the Androidx configuration in gradle.properties.
1.1 Add library dependencies in module script build.gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}1.2 Add the dependency
//1.4.0 版本及后续,仅支持 Androidx
dependencies {
implementation 'com.github.DSAppTeam:PanelSwitchHelper:v1.5.15'
}……The project was written only to improve the efficiency of daily development and focus on processing business. If you have better practices or suggestions, please write to [email protected].
Or search WeChat "lym_llllll" and add WeChat for feedback.
If the framework is helpful to you, Amway can give the partners around you, and every star is an affirmation of the framework.
No open issues yet, or sync has not completed.