首先要明确,有两种布局方式
线性布局:DirectionalLayout
DirectionalLayout
依赖布局:DependentLayout
DependentLayout
好,接下来看一看下面的例子
代码如下:
//上下布局
帝国技术学习