For resolve the layout conflict when keybord & panel are switching (Android键盘面板冲突 布局闪动处理方案)
Clone or download
Permalink
Failed to load latest commit information.
.idea chore: upgrade android gradle plugin version to latest May 12, 2018
app android7.0以上分屏/多窗口时,解决键盘与面板切换监听失效的bug May 28, 2018
art docs(demo-snapshot): change the size of demo-snapshot: 1080*x -> 600*x Aug 11, 2016
gradle chore: adapter sonatype release & sontype snapshot & jcenter reposito… May 12, 2018
library android7.0以上分屏/多窗口时,解决键盘与面板切换监听失效的bug May 28, 2018
.gitignore chore: upgrade android gradle plugin version to latest May 12, 2018
.travis.yml chore: run okcheckDebug on travis ci May 12, 2018
CHANGELOG.md ci: release 1.6.2 Oct 9, 2018
CHANGELOG_zh.md ci: release 1.6.2 Oct 9, 2018
FULLSCREEN_TUTORIAL.md docs(english): add the english readme doc and tutorials Oct 31, 2016
FULLSCREEN_TUTORIAL_zh.md docs(tutorial): alternate the refer-link in the chinese docs to the c… Oct 31, 2016
LICENSE.txt chore: update the date on license Mar 9, 2017
NON-FULLSCREEN_TUTORIAL.md docs(english): add the english readme doc and tutorials Oct 31, 2016
NON-FULLSCREEN_TUTORIAL_zh.md docs(tutorial): alternate the refer-link in the chinese docs to the c… Oct 31, 2016
README.md docs: change the color of the badge of snapshot on readme doc Oct 9, 2018
README_zh.md docs: change the color of the badge of snapshot on readme doc Oct 9, 2018
build.gradle chore: adapter sonatype release & sontype snapshot & jcenter reposito… May 12, 2018
checkstyle.xml chore: enable style check on schedule push Jan 12, 2018
gradle.properties ci: upgrade version to 1.6.3-SNAPSHOT for continue deploy Oct 9, 2018
gradlew init Jul 1, 2015
gradlew.bat init Jul 1, 2015
settings.gradle 独立出kpswitch独立库 Dec 10, 2015

README.md

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


INSTALLATION

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

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

If you want to import snapshot version, We have already publish the snapshot version to the sonatype so you can import snapshot version after declare the following repository:

allprojects {
  repositories {
      maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  }
}

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.