Animating your keyboard using WindowInsets

45 436
17.2
Следующее
26.08.20 – 26 21522:06
Compose for existing apps
Популярные
45 дней – 4 8711:00
AnchoredDraggable #shorts
Опубликовано 24 августа 2020, 16:01
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 → goo.gle/insetsanimsample
Blog post → goo.gle/keyboard-animation
AndroidX Core → goo.gle/2QlCyOd
Check out the 11 Weeks of Android website → goo.gle/30FDT8S

Related Playlists:
UI - 11 Weeks of Android playlist → goo.gle/ui-11weeks
11 Weeks of Android playlist → goo.gle/android-11weeks

Subscribe to Android Developers → goo.gle/AndroidDevs

Speaker:
Chris Banes @chrisbanes on Twitter → goo.gle/34iXbmv

#featured #android11 #11WeeksOfAndroid
автотехномузыкадетское