i'm programming android app in user changing position of imageview choosing list of predefined positions. positions can changed using spinner.
the position updated function called in spinner_itemselected. looks this:
public void setnewposition(imageview img, int[] coordinates) { img.left = coordinates[0]; img.top = coordinates[1]; } the position set correctly. after interact other widget, imageview set initial position, defined in main.axml. ideas how can prevent imageview doing that?
thanks lot
Comments
Post a Comment