2019-12-26:Android中View几种常见位移方式的区别?
MoJieBlog opened this issue · 1 comments
MoJieBlog commented
- setTranslationX/Y
- scrollBy/scrollTo
- offsetTopAndBottom/offsetLeftAndRight
- 动画
- margin
- layout
这些位移的区别
zhangandroid commented
layout ,补间动画,scroller,layoutParams, invalilate