android - Is it possible to use Shared Element Animation on ViewSwitcher -
i'm using view switcher replace 2 views. these 2 views has shared element (just text), , i'm looking there way replace 2 view nicely animated without making text disappear , reappear happens @ activity , fragment transitions.
exp; https://developer.android.com/design/material/videos/contactsanim.mp4
i'm using animate;
<set xmlns:android="http://schemas.android.com/apk/res/android"> <translate android:fromydelta="-50%p" android:toydelta="0" android:duration="@android:integer/config_mediumanimtime"/> <alpha android:fromalpha="0.0" android:toalpha="1.0" android:duration="@android:integer/config_mediumanimtime" />
thanks.
Comments
Post a Comment