alignment

fun alignment(align: Layout.Alignment): Span

AlignmentSpan 设置段落对齐方式

ParagraphStyle 段落Style不支持文本替换

Parameters

align

Layout.Alignment.ALIGN_NORMALLayout.Alignment.ALIGN_OPPOSITE