Layout position change with animation in android -


in application have made chathead

i can change position of chathead using

windowmanager.updateviewlayout(chathead, params); 

but not change position animation.

how can animation on move

i have tried following not work.

translateanimation anim = new translateanimation( 0, params.x, 0, params.y); anim.setduration(1000); chathead.startanimation(anim); 

have checked params.x , params.y value correct or not?


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -