Tuesday, January 22, 2013

[android-developers] Click events doesn't work on a button after Animation

 Hi guys , i am facing a weird problem.I have a layout and there is a button inside that layout.On clicking of the button i need to translate that layout towards up say for example 30%.I am able to achieve this but when animation ends i loose click event on the button which a very weird and known issue to all the forums and stack overflow.I searched every where but could not find  a solution.I have read that When layout is animated it looks that it has been animated but it is View resides at there original position .Then how can i perform onClick of a button which is now placed to the new postion?

Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate