摘要: 1.view.getTranslationX计算的是该view的偏移量。初始值为0,向左偏移值为负,向右偏移值为正。2.view.getX相当于该view距离父容器左边缘的距离,等于getLeft+getTranslationX。 阅读全文
posted @ 2015-07-08 14:16 qianrushi5 阅读(691) 评论(0) 推荐(0) 编辑