Skip to content

Commit

Permalink
chore(upgrade) version name(1.4.4->1.4.5) code(11->12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksgong committed Apr 20, 2016
1 parent c737e97 commit 3f99df5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
---

### Version 1.4.5 (2016-04-21)

- 修复页面是继承自`Activity``FragmentActivity`的情况下,由于计算键盘是否显示出现错误,导致存在闪动的bug。Closes #24

### Version 1.4.4 (2016-04-19)

- 修复在一些特殊情况下如(一些继承自`FragmentActivity`的情况)有可能出现判定正在打开全屏布局的方案有误导致没有处理闪动的bug。Closes #21
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
`build.gradle`中引入:

```
compile 'cn.dreamtobe.kpswitch:library:1.4.4'
compile 'cn.dreamtobe.kpswitch:library:1.4.5'
```


Expand Down Expand Up @@ -71,8 +71,8 @@ limitations under the License.
[adjust_unresolved_gif]: https://raw.githubusercontent.com/Jacksgong/JKeybordPanelSwitch/master/art/adjust_unresolved.gif
[build_status_svg]: https://travis-ci.org/Jacksgong/JKeyboardPanelSwitch.svg?branch=master
[build_status_link]: https://travis-ci.org/Jacksgong/JKeyboardPanelSwitch
[KeyboardUtil_calculateKeyboardHeight_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/util/KeyboardUtil.java#L197
[KeyboardUtil_calculateKeyboardShowing_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/util/KeyboardUtil.java#L248
[KeyboardUtil_calculateKeyboardHeight_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/util/KeyboardUtil.java#L196
[KeyboardUtil_calculateKeyboardShowing_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/util/KeyboardUtil.java#L247
[KPSwitchRootLayoutHandler_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/handler/KPSwitchRootLayoutHandler.java
[KPSwitchPanelLayoutHandler_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/handler/KPSwitchPanelLayoutHandler.java
[KPSwitchFSPanelLayoutHandler_link]: https://github.com/Jacksgong/JKeyboardPanelSwitch/blob/master/library/src/main/java/cn/dreamtobe/kpswitch/handler/KPSwitchFSPanelLayoutHandler.java
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.4.4
VERSION_CODE=11
VERSION_NAME=1.4.5
VERSION_CODE=12
BUILD_TOOLS_VERSION=23.0.1
COMPILE_SDK_VERSION=23

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private void calculateKeyboardShowing(final int displayHeight) {
final View actionBarOverlayLayout = (View)contentView.getParent();
// in the case of FragmentLayout, this is not real ActionBarOverlayLayout, it is
// LinearLayout, and is a child of DecorView, and in this case, its top-padding would be
// equal to the height of status bar, and its height would equal to ScreenHeight -
// equal to the height of status bar, and its height would equal to DecorViewHeight -
// NavigationBarHeight.
final int actionBarOverlayLayoutHeight = actionBarOverlayLayout.getHeight() -
actionBarOverlayLayout.getPaddingTop();
Expand Down

0 comments on commit 3f99df5

Please sign in to comment.