Android View -- setTranslationX
通过此方法使View位置发生偏移,达到margin的作用却又不改变View的getLeft()的值。 恢复方法是setTranslationX(0),而不是上一次偏移量的相反数。 不过,通过get ...
通过此方法使View位置发生偏移,达到margin的作用却又不改变View的getLeft()的值。 恢复方法是setTranslationX(0),而不是上一次偏移量的相反数。 不过,通过get ...