attrs.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <!-- 圆形进度条 -->
  4. <declare-styleable name="MyCircleProgressView">
  5. <attr name="antiAlias" format="boolean" />
  6. <attr name="mCirWidth" format="dimension" />
  7. <attr name="mCirColor" format="color" />
  8. <attr name="mBgCirWidth" format="dimension" />
  9. <attr name="mBgCirColor" format="color" />
  10. <attr name="animTime" format="integer" />
  11. <attr name="value" format="integer" />
  12. <attr name="maxvalue" format="integer" />
  13. <attr name="startAngle" format="float" />
  14. <attr name="sweepAngle" format="float" />
  15. <attr name="valueSize" format="dimension" />
  16. <attr name="valueColor" format="color" />
  17. <attr name="unit" format="string" />
  18. <attr name="unitSize" format="dimension" />
  19. <attr name="unitColor" format="color" />
  20. <attr name="hint" format="string" />
  21. <attr name="hintSize" format="dimension" />
  22. <attr name="hintColor" format="color" />
  23. <attr name="gradient" format="dimension" />
  24. <attr name="isGradient" format="boolean" />
  25. <attr name="smallCirEnable" format="boolean" />
  26. <attr name="smallCirColor" format="color" />
  27. <attr name="smallCirWidth" format="dimension" />
  28. <attr name="shadowSize" format="float" />
  29. <attr name="shadowColor" format="color" />
  30. <attr name="shadowShow" format="boolean" />
  31. <attr name="digit" format="integer" />
  32. <attr name="isanim" format="boolean" />
  33. </declare-styleable>
  34. <!-- 手写板 -->
  35. <declare-styleable name="HandWriteView">
  36. <attr name="paintColor" format="color" />
  37. <attr name="paintMaxWidth" format="dimension" />
  38. <attr name="paintMinWidth" format="dimension" />
  39. </declare-styleable>
  40. <!-- 异步加载布局 -->
  41. <declare-styleable name="AsyncViewStub">
  42. <attr name="layout" format="reference" />
  43. </declare-styleable>
  44. <!-- 没有边框的TextView -->
  45. <declare-styleable name="NoPaddingTextView">
  46. <attr name="removeDefaultPadding" format="boolean" />
  47. </declare-styleable>
  48. <declare-styleable name="RangeBarView">
  49. <attr name="rect_line_height" format="dimension"/>
  50. <attr name="rect_line_default_color" format="color"/>
  51. <attr name="rect_line_checked_color" format="color"/>
  52. <attr name="circle_radius" format="dimension"/>
  53. <attr name="circle_stroke_width" format="dimension"/>
  54. <attr name="left_circle_solid_color" format="color"/>
  55. <attr name="left_circle_stroke_color" format="color"/>
  56. <attr name="right_circle_solid_color" format="color"/>
  57. <attr name="right_circle_stroke_color" format="color"/>
  58. <attr name="range_text_size" format="dimension"/>
  59. <attr name="range_text_color" format="color"/>
  60. <attr name="view_text_space" format="dimension"/>
  61. <attr name="rect_price_desc_dialog_width" format="dimension"/>
  62. <attr name="rect_price_desc_dialog_color" format="color"/>
  63. <attr name="rect_price_desc_dialog_corner_radius" format="dimension"/>
  64. <attr name="rect_price_desc_text_size" format="dimension"/>
  65. <attr name="rect_price_desc_text_color" format="color"/>
  66. <attr name="rect_price_desc_space_to_progress" format="dimension"/>
  67. </declare-styleable>
  68. </resources>