view的绘制
2019-09-25 20:19:43 0 举报
Android
作者其他创作
大纲/内容
ViewRootImpl调用perforMeasure执行window对应的View的测量
ViewonMeasure();
RoooView
ViewGrouponMeasure();
ViewGroupmeasure();
N
Y
View or ViewGroup
Measure All is Ok
is Loop Ok
is Group
Viewmeasure();
is View
onMeasure调用了setMeasuredDimension,对View的成员变量mMeasuredWidth和mMeasuredHeight变量赋值
0 条评论
回复 删除
下一页