摘要: onMeasure()函数由包含这个View的具体的ViewGroup调用,因此值也是由其ViewGroup中传入的。子类View的这两个参数widthMeasureSpec, heightMeasureSpec由ViewGroup中的layout_width,layout_height和paddi 阅读全文
posted @ 2018-06-19 15:33 千彧 阅读(655) 评论(0) 推荐(0) 编辑