how to use translation animation with animation set android code example
Example: android translate animation values
public TranslateAnimation (float fromXDelta,
float toXDelta,
float fromYDelta,
float toYDelta)