Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saket/fluidkeyboardresize
Smoothly reacting to keyboard visibility changes in Android
https://github.com/saket/fluidkeyboardresize
android animation keyboard
Last synced: 19 days ago
JSON representation
Smoothly reacting to keyboard visibility changes in Android
- Host: GitHub
- URL: https://github.com/saket/fluidkeyboardresize
- Owner: saket
- License: unlicense
- Created: 2018-09-30T13:40:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T19:49:07.000Z (over 5 years ago)
- Last Synced: 2024-10-14T20:48:16.280Z (about 1 month ago)
- Topics: android, animation, keyboard
- Language: Kotlin
- Homepage:
- Size: 256 KB
- Stars: 641
- Watchers: 10
- Forks: 41
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Fluid resize](https://github.com/saket/FluidResize/blob/master/images/fluid_resize.gif)
Sample project for my blog post, [Smoothly reacting to keyboard visibility changes](https://saket.me/smoothly-reacting-to-keyboard/).
The implementation for detecting keyboard visibility and animating size change can be found in [FluidContentResizer](https://github.com/saket/FluidKeyboardResize/blob/master/sample/src/main/java/me/saket/fluidresize/sample/FluidContentResizer.kt#L16) and its usage [here](https://github.com/saket/FluidKeyboardResize/blob/0d3c0e878b6652123e2a91e42d6cd4ecc9865b87/sample/src/main/java/me/saket/fluidresize/sample/FluidResizeActivity.kt#L14). It's a tiny project so feel free to simply copy over the necessary files to your project.
### License
```
This is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.Full license can be read here: https://github.com/saket/FluidKeyboardResize/blob/master/LICENSE
```