attrs.xml 2.1 KB

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