问题
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.
回答1:
Never ever use AbsoluteLayouts. Use animations instead. imageView.startAnimation(ANIMATION); You can find examples from google here and here
来源:https://stackoverflow.com/questions/5180837/how-to-move-a-imagebutton-dynamically