alignment

fun Any?.alignment(align: Layout.Alignment)

AlignmentSpan 设置段落对齐方式

ParagraphStyle 段落Style不支持文本替换

Parameters

align

Layout.Alignment.ALIGN_NORMALLayout.Alignment.ALIGN_OPPOSITE