RelativeLayout(相对布局)是一种非常灵活的布局方式,几乎没有见过可能是Android独创的.这个布局的一个要点是里面的控件可以指定其上下左右对齐的控件.
基于919个网页-相关网页
Android RelativeLayout 相对布局及其使用详解
Its root node is a RelativeLayout container element.
它的根节点是一个RelativeLayout容器元素。
A RelativeLayout simply instructs the runtime to lay out various UI widgets using relative positioning.
RelativeLayout指示运行时使用相对定位对不同的UI小部件进行布局。
For a custom layout with the text node values to the right of the labels, use RelativeLayout instead of LinearLayout.
为了实现文本节点值位于标签右侧的自定义布局,可以使用RelativeLayout代替LinearLayout。
应用推荐