/JKeyboardPanelSwitch

For resolve the layout conflict when keybord & panel are switching (Android键盘面板冲突 布局闪动处理方案)

Primary LanguageJavaApache License 2.0Apache-2.0

The handler for the keyboard and panel layout conflict in Android

Download Build Status

中文文档


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.


There is a post to declaration the core rules of this solution: Switching between the panel and the keyboard in Wechat


Welcome PR

  • Comments as much as possible.
  • Commit message format follow: AngularJS's commit message convention .
  • The change of each commit as small as possible.
  • As far as possible follow the advice from Inspection by IDE(Such as 'Inspect Code' in Android Studio).

INSTALLATION

JKeyboardPanelSwitch is installed by adding the following dependency to your build.gradle file:

compile 'cn.dreamtobe.kpswitch:library:1.6.0'

USAGE

Recommend clone the demo project and run it, I has already cover cases as much as possible in the demo project.

PRINCIPLE

License

Copyright 2015 Jacks gong.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.