分享

android:textAlignment 参数解释

 tracyf 2014-06-04
Constant Value Description inherit 0 Default gravity 1 Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s text direction textStart 2 Align to the start of the paragraph, e.g. ALIGN_NORMAL. textEnd 3 Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. center 4 Center the paragraph, e.g. ALIGN_CENTER. viewStart 5 Align to the start of the view, which is ALIGN_LEFT if the view’s resolved layoutDirection is LTR, and ALIGN_RIGHT otherwise. viewEnd 6 Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved layoutDirection is LTR, and ALIGN_LEFT otherwise

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约