offsetLeftAndRight()究竟做了什么?文档说:"按指定的像素数量偏移此视图的水平位置"所以,这是否意味着如果视图的左侧位置为50并且在其上调用offsetLeftAndRight(20),则视图将移动20像素及其左侧位置将是(50-20)即30?
提前致谢.
android offset android-view
android ×1
android-view ×1
offset ×1