Android View -- setTranslationX
通過此方法使View位置發生偏移,達到margin的作用卻又不改變View的getLeft()的值。 恢復方法是setTranslationX(0),而不是上一次偏移量的相反數。 不過,通過get ...
通過此方法使View位置發生偏移,達到margin的作用卻又不改變View的getLeft()的值。 恢復方法是setTranslationX(0),而不是上一次偏移量的相反數。 不過,通過get ...