Xml animation code example
Example: android java string animations
fade (with alpha) /Translation (movement) / rotation / scale (half size, 0.5)
ImageView.animate().alpha(0).setDuration(2000);
To set an image property without animation:
ImageView.setX(-1000)