KeyboardBeautify
Awesome keyboard animator that supports Android SDK 23
This library was created based on the android/user-interface-samples.
Preview
Come to YouTube for a smoother preview -> https://youtu.be/Sp9QJEopFp4
implementation "land.sungbin:keyboardbeautify:${version}"
VERY SIMPLE. JUST ONE LINE.
Kotlin
Usage
Download implementation "land.sungbin:keyboardbeautify:${version}"
VERY SIMPLE. JUST ONE LINE.
Kotlin
Basic extension. Support SDK 23+.
Activity.keyboardBeautify(
rootView: ViewGroup,
inputLayout: ViewGroup,
otherView: View? = null, // Optional, View to which animation is applied according to the state of the IME.
editText: EditText // Automatically sets the EditText focusing to match the state of the IME.
)
XML
Optional beautify. Support SDK 30+.
Automatically control the IME insets and visibility with nested scrolling of views.
<land.sungbin.keyboardbeautify.layout.InsetsAnimationLinearLayout />
<land.sungbin.keyboardbeautify.layout.InsetsAnimationConstraintLayout />
Example
You can see examples of using Activity.keyboardBeauify
in the app folder of this project.