android坐标系.png view自身的getX()=getLeft()+getTranslationX(),是相对于父布局自身的位置。 上图中的getX(),getY()是MotionEvent中的,相对于view本身内部距离本身左上角的位置。