Use a RelativeLayout. onClick, loop over the existing imageview(s) and change the layoutparameters to move up the screen; otherwise, create a new imageview, set its src and initial position, and add it to your relativelayout.
(If there is only ever one imageview at a time, you don’t need to create a new one, just move the old one back from off screen.)
2
solved Android java I have a image thats supposed to be a bullet [closed]