该 API 已被废弃。
linear-gravity 定义如何沿着线性布局的主轴分配内容元件之间和周围的空间,是父容器上的属性。类似于弹性布局的 justify-content。
当同时使用 justify-content 和 linear-gravity,linear-gravity 优先。

none
默认值。linear-direction: column 时等同于 top,linear-direction: row 时等同于 left。
start
对齐父容器的主轴开始端。
end
对齐父元件的主轴结束端。
center
元件向每行中点排列。每行第一个元件到行首的距离将与每行最后一个元件到行尾的距离相同。
space-between
对应布局方向上,两端对齐,中间间隔相等。
top Deprecated
向上对齐,纵向布局生效。
bottom Deprecated
向下对齐,纵向布局生效。
left Deprecated
向左对齐,横向布局生效。
right Deprecated
向右对齐,横向布局生效。
center-vertical Deprecated
垂直方向上居中,纵向布局生效。
center-horizontal Deprecated
水平方向上居中,横向布局生效。
| 初始值 | none |
| 适用元素 | 线性容器 |
| 是否支持继承 | 否 |
| 是否支持动画 |
LCD tables only load in the browser