Android UI学习 Linear Layout, RelativeLayout

http://www.cnmsdn.com/html/201009/1283762175ID7852.html

 

在相对布局中:

 

A Layout where the positions of the children can be described in relation to each other or to the parent.

一个布局能够被描绘通过其它子布局,或者是通过其父布局

 

Note that you cannot have a circular dependency between the size of the RelativeLayout and the position of its children. For example, you cannot have a RelativeLayout whose height is set to WRAP_CONTENT and a child set to ALIGN_PARENT_BOTTOM. 

注意:在相对布局的大小和子布局的位置方面你不能间接的依赖。例如:若是一个布局的宽被设置成自适应而子布局被设置为:ALIGN_PARENT_BOTTOM,您将不能使用相对布局。

 

你可能感兴趣的:(html,UI,android)