attrs.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <!-- HeaderBar自定义属性 -->
  4. <declare-styleable name="HeaderBar">
  5. <attr name="isShowBack" format="boolean" />
  6. <attr name="titleText" format="string" />
  7. <attr name="rightText" format="string" />
  8. </declare-styleable>
  9. <!-- LabelText自定义属性 -->
  10. <declare-styleable name="LabelText">
  11. <attr name="labelText" format="string" />
  12. <attr name="contentText" format="string" />
  13. </declare-styleable>
  14. <declare-styleable name="ColorTextView">
  15. <attr name="ctvBackground" format="color" />
  16. <attr name="ctvCornerSize" format="dimension" />
  17. <attr name="ctvBorderColor" format="color" />
  18. <attr name="ctvBorderWidth" format="dimension" />
  19. </declare-styleable>
  20. <declare-styleable name="QMUIRadiusImageView">
  21. <attr name="qmui_border_width" format="dimension" />
  22. <attr name="qmui_border_color" format="color" />
  23. <attr name="qmui_selected_mask_color" format="color" />
  24. <attr name="qmui_selected_border_color" format="color" />
  25. <attr name="qmui_selected_border_width" format="dimension" />
  26. <attr name="qmui_corner_radius" format="dimension" />
  27. <attr name="qmui_is_oval" format="boolean" />
  28. <attr name="qmui_is_circle" format="boolean" />
  29. <attr name="qmui_is_touch_select_mode_enabled" format="boolean" />
  30. </declare-styleable>
  31. <attr name="QMUIRadiusImageViewStyle" format="reference" />
  32. </resources>