8

Android: Image buttons move when clicked for no reason

view full story
linux-howto

http://stackoverflow.com – I have a certain view in an android app that has a left arrow and right arrow button. The left arrow is on the left edge of the screen and the right button is on the right side. When either button is pressed, the text in a centered text view is supposed to change. That is all. I did not set any animations or anything. However, in testing, when either button is pressed, both buttons move a little in their respective directions until they are off the screen. It's like magic. Here is the code for the activity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSta (HowTos)