LinearLayout的layout过程
2016-03-01 19:38:18 0 举报
登录查看完整内容
Android LinearLayout的layout过程
作者其他创作
大纲/内容
重写onLayout
LinearLayout
ViewGroup
+ childTop:int+ childLeft:int
+ onLayout()+ layoutVertical()+ layoutHorizontal()+ setChildFrame()
layout()
setFrame()
child.layout()
View
+ mLeft:int+ mRight:int+ mTop:int+ mBottom:int
+ setFrame()+ layout()+ onLayout()
setChildFrame()
layoutVertical()/layoutHorizontal()
0 条评论
回复 删除
下一页