Animation with ImageButton

  • Replies:0
Jason Wieczorek
  • Forum posts: 3

Jul 24, 2013, 7:27:23 PM via Website

Hi,

I am trying to accomplish the following...

1. user clicks imagebutton
2. scale animation is played, leaving the imagebutton 2 times its original size (achieved with animation.fillAfter(true) from java code)
3. user clicks the newly scaled imagebutton
4. new scale animation is played, that resets the imagebutton to its original size.

All is working perfectly fine, but on step 3 above, on the down-click of the imagebutton, the original image size is shown. Then when I release the press, the second animation starts perfectly. Is there some re-draw going on while down clicking the image button? Any ideas?

Reply