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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -