attrs.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <declare-styleable name="BannerViewPager">
  4. <!--页面切换时间间隔-->
  5. <attr name="bvp_interval" format="integer" />
  6. <attr name="bvp_scroll_duration" format="integer" />
  7. <attr name="bvp_can_loop" format="boolean" />
  8. <attr name="bvp_auto_play" format="boolean" />
  9. <attr name="bvp_indicator_checked_color" format="color" />
  10. <attr name="bvp_indicator_normal_color" format="color" />
  11. <attr name="bvp_indicator_radius" format="dimension" />
  12. <attr name="bvp_round_corner" format="dimension" />
  13. <attr name="bvp_page_margin" format="dimension" />
  14. <attr name="bvp_reveal_width" format="dimension" />
  15. <attr name="bvp_indicator_style" format="enum">
  16. <enum name="circle" value="0" />
  17. <enum name="dash" value="2" />
  18. <enum name="round_rect" value="4" />
  19. </attr>
  20. <attr name="bvp_indicator_slide_mode" format="enum">
  21. <enum name="normal" value="0" />
  22. <enum name="smooth" value="2" />
  23. <enum name="worm" value="3" />
  24. <enum name="scale" value="4" />
  25. <enum name="color" value="5" />
  26. </attr>
  27. <attr name="bvp_indicator_gravity" format="enum">
  28. <enum name="center" value="0" />
  29. <enum name="start" value="2" />
  30. <enum name="end" value="4" />
  31. </attr>
  32. <attr name="bvp_page_style" format="enum">
  33. <enum name="normal" value="0" />
  34. <enum name="multi_page" value="2" />
  35. <enum name="multi_page_overlap" value="4" />
  36. <enum name="multi_page_scale" value="8" />
  37. </attr>
  38. <attr name="bvp_indicator_visibility" format="enum">
  39. <enum name="visible" value="0" />
  40. <enum name="invisible" value="4" />
  41. <enum name="gone" value="8" />/>
  42. </attr>
  43. </declare-styleable>
  44. </resources>