Android开发 View过程详解 工作记录
03 December 2014
Android开发 View过程详解
measure
–>layout
–>draw
.
measure
的过程理解起来比较困难。View
在layout
文件中有layout_width
和layout_height
有两个属性。对于这两种属性,我们有三种处理方式:赋具体的值,match_parent
,wrap_content
。measure
的过程就是处理match_parent
和wrap_content
的。
blog comments powered by Disqus