I'm working on implementing a basic Activity
transition animation with a shared element from a RecyclerView
with a GridLayoutManager
to a full screen details Activity
screen. The animation works well under regular circumstances. So when clicking on an image in the grid it scales to the full screen image and on exiting the reverse happens. But if you press the power button and return to the app while the details screen is visible, Android seems to clear all registered shared …
animation android transition android-activity shared-element-transition