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

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -