如何实现组件水平或垂直排列
1、在水平布局中增加垂直布局方式的LinearLayout<LinearLayoutandroid:orientation="horizontal"/>//水平布局

3、在垂直布局方式的LinearLayout中添加控件LinearLayout

5、 <Button/>垂直布局的控件<Button/>垂直布局的控件 </LinearLayout></LinearLayout>

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:76
阅读量:28
阅读量:37
阅读量:69
阅读量:48