I'm working in a custom Transition
to animate only the visible part of the Shared View
in case it is partially visible.
In my case this happens because the Shared View
is inside a ConstraitLayout
, and the ConstraitLayout
inside a ScrollView
.
I mentioned this problem in another question: Shared element transition - animate only the visible part of the shared view
This is the defaul transition
choose by the system:
And this is the one where I'm working:
The animation itself works well ... But the problem is the system draws the full shared view, before the animation starts... and there is an ugly blink.
How can I prevent that?
I have already on my style:
<item name="android:windowSharedElementsUseOverlay">false</item>