attrs.xml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <!-- Define the values for the attribute -->
  4. <attr name="typeface" format="enum">
  5. <enum name="ptsansNarrow" value="0"/>
  6. <enum name="ptsansNarrowBold" value="1"/>
  7. </attr>
  8. <!-- Tell Android that the class "CustomButton" can be styled,
  9. and which attributes it supports -->
  10. <declare-styleable name="PTSansTextView">
  11. <attr name="typeface"/>
  12. </declare-styleable>
  13. <declare-styleable name="MinMaxNumberPicker">
  14. <attr name="min" format="integer"/>
  15. <attr name="max" format="integer"/>
  16. </declare-styleable>
  17. <declare-styleable name="NegativeSeekBar">
  18. <attr name="min_seek" format="integer"/>
  19. <attr name="max_seek" format="integer"/>
  20. </declare-styleable>
  21. <attr name="navigation_view_theme" format="reference"/>
  22. <attr name="selectable_list_drawable" format="reference|integer" />
  23. <attr name="selectable_library_drawable" format="reference|integer"/>
  24. <attr name="divider_drawable" format="reference|integer" />
  25. <attr name="text_color_primary" format="reference|integer"/>
  26. <attr name="background_card" format="reference|integer"/>
  27. </resources>