android - Is it possible to move ImageButtons with an onClick in a relative view? -


my intension have button on screen when clicked move bunch of imagebuttons 1 "football formation" one.

something along lines of this.

formation 1

to formation 2

with each position representing different imagebutton, when try

player2.setleft(200);

it crashes program.

if view isn't possible best way go it, or best off using different layout entirely?


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -