attrs.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <declare-styleable name="CircleImageView">
  4. <attr name="border_width" format="dimension"/>
  5. <attr name="border_color" format="color"/>
  6. <attr name="border_overlay" format="boolean"/>
  7. </declare-styleable>
  8. <declare-styleable name="RequiredTextView">
  9. <attr name="android:text" />
  10. <attr name="prefix" format="string|reference" />
  11. <attr name="prefix_color" format="color|reference" />
  12. </declare-styleable>
  13. <declare-styleable name="TimelineView" >
  14. <attr name="timeline_marker" format="color|reference"/>
  15. <attr name="timeline_marker_size" format="dimension"/>
  16. <attr name="timeline_marker_padding_top" format="dimension"/>
  17. <attr name="timeline_marker_padding_bottom" format="dimension"/>
  18. <attr name="timeline_marker_in_center" format="boolean"/>
  19. <attr name="timeline_start_line_color" format="color"/>
  20. <attr name="timeline_end_line_color" format="color"/>
  21. <attr name="timeline_marker_color" format="color"/>
  22. <attr name="timeline_line_width" format="dimension"/>
  23. <attr name="timeline_line_style" format="enum">
  24. <enum name="normal" value="0" />
  25. <enum name="dash" value="1" />
  26. </attr>
  27. <attr name="timeline_line_style_dash_gap" format="dimension" />
  28. <attr name="timeline_line_style_dash_length" format="dimension" />
  29. <attr name="timeline_line_orientation" format="enum">
  30. <enum name="horizontal" value="0"/>
  31. <enum name="vertical" value="1"/>
  32. </attr>
  33. <attr name="timeline_line_padding" format="dimension"/>
  34. </declare-styleable>
  35. <declare-styleable name="RockerView">
  36. <attr name="areaBackground" format="color|reference" />
  37. <attr name="rockerBackground" format="color|reference" />
  38. <attr name="rockerRadius" format="dimension" />
  39. </declare-styleable>
  40. <!-- <declare-styleable name="RockerView">-->
  41. <!-- <attr name="areaBackground" format="color|reference" />-->
  42. <!-- <attr name="rockerBackground" format="color|reference" />-->
  43. <!-- <attr name="rockerScale" format="float"/>-->
  44. <!-- <attr name="rockerSpeedLevel" format="integer" />-->
  45. <!-- <attr name="rockerCallBackMode">-->
  46. <!-- <flag name="CALL_BACK_MODE_MOVE" value="0" />-->
  47. <!-- <flag name="CALL_BACK_MODE_STATE_CHANGE" value="1" />-->
  48. <!-- </attr>-->
  49. <!-- </declare-styleable>-->
  50. </resources>