机器人之间的差异:方向=&QUOT垂直的QUOT; VS机器人:方向="水平" [英] Difference between android:orientation="vertical" vs android:orientation="horizontal"

查看:156
本文介绍了机器人之间的差异:方向=&QUOT垂直的QUOT; VS机器人:方向="水平"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道的区别是这两个之间有什么?一个比其他的好处?等等...

I was wondering what the difference are between these two? benefits of one over the other? etc...

推荐答案

水平允许布局中的元素被放置对方那里垂直将叠加在他们旁边。有没有真正要么好处 - 使用最适合你的设计的一个

"horizontal" allows your elements within the Layout to be placed beside each other where as "vertical" will stack them. There aren't really benefits to either - use the one that best fits your design.

借助官方文档说:如果布局是列或行使用? 水平一排,垂直一列。

The official documentation says: "Should the layout be a column or a row? Use "horizontal" for a row, "vertical" for a column."

这篇关于机器人之间的差异:方向=&QUOT垂直的QUOT; VS机器人:方向="水平"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆