android - Lollipop shared element transition on reentering activity with keyboard resize -


i'm working lollipop transitions between 2 activities. have shared element animate transition , activities , b. in activity b keyboard pops , resizes window. animation looks great when going activity b. problem when returning activity shared element transition looks bad because windows size still based on keyboard resized (even though keyboard minimizes automatically when going , window correct size).

i have tried manually hiding soft input before leaving activity b , calling finishaftertransition. unfortunately no luck! have tried postponing shared element transition, didn't work well. 1 solution have tiny delay (10ms) when user presses finish activity b in order give window time resize before leaving, feels hacky me.

any ideas appreciated!


Popular posts from this blog