How can I programmatically translate an arbitrary view without using an animation (android.view.animation.*)?
android.view.animation.*
API 11 introduced setTranslationX
setTranslationX
I was having the same problem. I was able to achieve the translation by manipulating the layoutparams, specifically the margins, of the views I wanted to translate. You can use negative values for the margins btw.