View的位置参数
left/top/right/bottom
left = getLeft();
top = getTop();
right = getRight();
bottom = getBottom();
注意: 这些都是相对于View的父容器计算的,是相对坐标
translationX/translationY/x/y
位移的变化量
translationX = getTranslationX();
translationY = getTranslationY();
x = left + translationX;
y = top = translationY;
注意:在View发生位移时left/top/right/bottom不发生变化,发生变化的是translationX/translationY/x/y
z/elevation/translationZ
z = elevation + translationZ;