android:textAlignment 参数解释

来源:互联网 发布:水果软件12教程 编辑:程序博客网 时间:2024/06/04 18:55
ConstantValueDescriptioninherit0Defaultgravity1Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s text directiontextStart2Align to the start of the paragraph, e.g. ALIGN_NORMAL.textEnd3Align to the end of the paragraph, e.g. ALIGN_OPPOSITE.center4Center the paragraph, e.g. ALIGN_CENTER.viewStart5Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise.viewEnd6Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise
0 1