dinesh707
dinesh707

Reputation: 12582

How to move a ImageButton dynamically?

I'm new to Android

I need to move the ImageButton dynamically, Like when i click the button it needs to be relocated into a new position. Im using AbsoluteLayout.

Upvotes: 1

Views: 1236

Answers (1)

Kevin
Kevin

Reputation: 1783

Never ever use AbsoluteLayouts. Use animations instead. imageView.startAnimation(ANIMATION); You can find examples from google here and here

Upvotes: 1

Related Questions