Animating your keyboard using WindowInsets

Android 11 added the ability to control the keyboard, even scrolling it in and out synchronized with your app’s content. This video demonstrates how to implement this behaviour, and covers the new Jetpack functionality enabling this for easier WindowInset handling.

Timestamps:
Going Edge-to-edge changes: 00:45
New WindowInset APIs: 03:45
Check visibility of keyboard: 05:03
Hide/show keyboard: 05:33
Immersive modes: 06:14
Light status bar: 06:53
Inset animations: 07:37
WindowInsetsAnimation walkthrough: 08:16
WindowInsetsAnimation example: 09:13
Controlling inset animations: 10:28
SimpleImeAnimationController: 11:35
Drag sample: 12:13
Resources: 13:03

Resources:
Sample →
Blog post →
AndroidX Core →
Check out the 11 Weeks of Android website →

Related Playlists:
UI – 11 Weeks of Android playlist →
11 Weeks of Android playlist →

Subscribe to Android Developers →

Speaker:
Chris Banes @chrisbanes on Twitter →

#featured #android11 #11WeeksOfAndroid

Rate this post