attrs.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <!--PartlyHighlightTextView-->
  4. <declare-styleable name="PartlyHighLightTextView">
  5. <attr name="normal_str" format="string"/>
  6. <attr name="hightlight_str" format="string"/>
  7. <attr name="highlight_color" format="reference|color"/>
  8. </declare-styleable>
  9. <!-- 分页标签 -->
  10. <declare-styleable name="PagerSlidingTabStrip">
  11. <attr name="pstsIndicatorColor" format="color"/>
  12. <attr name="pstsUnderlineColor" format="color"/>
  13. <attr name="pstsDividerColor" format="color"/>
  14. <attr name="pstsCheckedTextColor" format="reference"/>
  15. <attr name="pstsUncheckedTextColor" format="reference"/>
  16. <attr name="pstsIndicatorHeight" format="dimension"/>
  17. <attr name="pstsUnderlineHeight" format="dimension"/>
  18. <attr name="pstsDividerPadding" format="dimension"/>
  19. <attr name="pstsTabPaddingLeftRight" format="dimension"/>
  20. <attr name="pstsScrollOffset" format="dimension"/>
  21. <attr name="pstsTabBackground" format="reference"/>
  22. <attr name="pstsShouldExpand" format="boolean"/>
  23. <attr name="pstsTextAllCaps" format="boolean"/>
  24. </declare-styleable>
  25. <!-- 左右文本 -->
  26. <declare-styleable name="TwoTextView">
  27. <!-- 左边文本内容 -->
  28. <attr name="ttLeftText" format="string|reference"/>
  29. <!-- 右边文本内容 -->
  30. <attr name="ttRightText" format="string|reference"/>
  31. <!-- 左边文本字体大小 -->
  32. <attr name="ttLeftTextSize" format="dimension"/>
  33. <!-- 右边文本字体大小 -->
  34. <attr name="ttRightTextSize" format="dimension"/>
  35. <!-- 左边文本颜色 -->
  36. <attr name="ttLeftTextColor" format="reference"/>
  37. <!-- 右边文本颜色 -->
  38. <attr name="ttRightTextColor" format="reference"/>
  39. </declare-styleable>
  40. </resources>