The new Android version (Android 11) added new set of APIs let you synchronize your app’s content with the IME (input method editor, aka soft keyboard) and system bars as they animate on and offscreen, making it much easier to create natural, intuitive and jank-free IME transitions.
So, how to apply the windowinsetsanimation in android r (Android 11)?