摘要: 1.前言 自定义View中我们看到很多都重写了onMeasure方法,那么我们首先得知道onMeasure是做什么的。onMeasure中文意思就是测量,所以它是用于测量View的大小,影响View大小的因素很多(父View的大小、padding、自身margin、weight),View中有一个m 阅读全文
posted @ 2016-09-21 17:24 li-xyz 阅读(343) 评论(0) 推荐(0) 编辑