android 创建view间关系

在此过程中

1.viewgroup知道自己有几个子view。

2.每个view的一些基本属性都已经知道 id backgroud width height ... 通过view的构造函数attributeset传递进来。

 

findViewById()

view.findViewById()

posted @ 2019-01-25 21:51  坚持v  阅读(124)  评论(0编辑  收藏  举报