android - Animate ImageView when sliding to fill width -
i trying achieve animation 1 now playing page
where after sliding up, album art stretches fill width. efficient way of achieving this?
if in same view, have @ http://developer.android.com/reference/android/transition/transitionmanager.html allows transition between 2 layouts in same activity
or fragment
.
if you're adding new fragment, want override transition, :
getfragmentmanager().begintransaction() .setcustomanimations(r.animator.fragment_slide_up, r.animator.fragment_slide_down)
finally if you're switching activities, want have @ http://developer.android.com/training/material/animations.html (part 3 activity transitions , shared elements)
Comments
Post a Comment