(五十八)android坐标系统

一、首先明确一下 android 中的坐标系统 :

     屏幕的左上角是坐标系统原点(0,0)
     原点向右延伸是X轴正方向,原点向下延伸是Y轴正方向
    
二、View基础知识  view的参数信息
     
    width = right - left
    height = botton - top
    x = left + translationX
    y =  top+ transtationY
 
 
原文地址:https://www.cnblogs.com/fuyanan/p/4431429.html