0

I am using NineOldAndroids and using setTranslationY and setTranslationX to change the views position (after applying AnimatorProxy). Only problem is when I change the view's position the button is only visually changing its location however I still have to click the original area in order to get the button working properly (instead of the new position).

Can anyone please help me figure this out, would appreciate it very much.

ahmad
  • 2,149
  • 4
  • 21
  • 38

1 Answers1

0

You need to move the view after the animation has completed. As you said, the animation will only change where the view is being drawn.

See this answer: NineOldAndroids, not clickable view after rotation or move

Community
  • 1
  • 1
Matthew Wesly
  • 1,238
  • 1
  • 13
  • 14
  • Funny I had just finished looking at that post. I have been experimenting with setting LayoutParams and setFillAfter(true). Most people looking for an answer to a similar question should experiment those functions. Thank you for the answer! – ahmad Oct 21 '13 at 07:23