I have several
ImageViews in a
RelativeLayout. now, when user taps any of the ImageView, I want it to be moved to a specified location with subtle animation.
Eg; I have initially set margins for
LayoutParams associated with an
layoutparams1.setMargins(90,70,0,0); and then have it added to the layout.
and when imageview is tapped, I'd like its new location to be
200,200, with animation.
So, is it possible? if yes, then how?
Note that I have both
RelativeLayout and all of its child
ImageViews created programmatically.
And I'm new to android development so an elaborative answer is expected.