ColumnAlignments

为 androidx.compose.foundation.layout.Column 提供常用的水平对齐方式工厂接口。

Column 的 horizontalAlignment 参数用于指定子项在水平方向上的摆放方式。 本接口提供了三种常见选项:

See also

androidx.compose.foundation.layout.Column
androidx.compose.ui.Alignment.Horizontal

Functions

Link copied to clipboard

子项在水平方向上居中。

Link copied to clipboard
abstract fun getEnd(): AlignmentHorizontal

子项在结束边(End)对齐,受布局方向影响。

Link copied to clipboard

子项在起始边(Start)对齐,受布局方向影响。