中英文混排对齐TextView

This commit is contained in:
zengfantian 2015-04-09 23:45:48 +08:00
parent c1e689384c
commit 521d51b9f0
1 changed files with 14 additions and 1 deletions

View File

@ -90,13 +90,15 @@
</declare-styleable> </declare-styleable>
<!-- 圆形图片(结束) --> <!-- 圆形图片(结束) -->
<!-- 圆角图片(开始) -->
<!-- 圆角图片(开始) -->
<declare-styleable name="RoundAngleImageView"> <declare-styleable name="RoundAngleImageView">
<attr name="rWidth" format="dimension" /> <attr name="rWidth" format="dimension" />
<attr name="rHeight" format="dimension" /> <attr name="rHeight" format="dimension" />
</declare-styleable> </declare-styleable>
<!-- 圆角图片(结束) --> <!-- 圆角图片(结束) -->
<!-- 滑动删除列表 --> <!-- 滑动删除列表 -->
<declare-styleable name="swipelistviewstyle"> <declare-styleable name="swipelistviewstyle">
<attr name="right_width" format="dimension"></attr> <attr name="right_width" format="dimension"></attr>
@ -109,10 +111,21 @@
</declare-styleable> </declare-styleable>
<!-- TextViewRadioButton/CheckBox共通value结束 --> <!-- TextViewRadioButton/CheckBox共通value结束 -->
<!-- 下拉背景图回弹Scrollview开始 -->
<declare-styleable name="PullScrollView"> <declare-styleable name="PullScrollView">
<attr name="header" format="reference" /> <attr name="header" format="reference" />
<attr name="headerHeight" format="dimension" /> <attr name="headerHeight" format="dimension" />
<attr name="headerVisibleHeight" format="dimension" /> <attr name="headerVisibleHeight" format="dimension" />
</declare-styleable> </declare-styleable>
<!-- 下拉背景图回弹Scrollview结束 -->
<!-- 中英文混排对齐TextView开始 -->
<declare-styleable name="AlignTextView">
<attr name="align" format="string" />
<attr name="text" format="string" />
</declare-styleable>
<!-- 中英文混排对齐TextView结束 -->
</resources> </resources>