orientation和gravity的区别

orientation:决定UI组件是按行还是列显示

gravity:指定文字对齐方式。

原文地址:https://www.cnblogs.com/YangBinChina/p/4099287.html