values.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3. <attr format="integer" name="animTime"/>
  4. <attr format="boolean" name="antiAlias"/>
  5. <attr format="color|reference" name="arcColor1"/>
  6. <attr format="color|reference" name="arcColor2"/>
  7. <attr format="color|reference" name="arcColor3"/>
  8. <attr format="color|reference" name="arcColors"/>
  9. <attr format="dimension" name="arcWidth"/>
  10. <attr format="color|reference" name="bgArcColor"/>
  11. <attr format="string|reference" name="hint"/>
  12. <attr format="color|reference" name="hintColor"/>
  13. <attr format="dimension" name="hintSize"/>
  14. <attr format="float" name="maxValue"/>
  15. <attr format="integer" name="precision"/>
  16. <attr format="float" name="startAngle"/>
  17. <attr format="float" name="sweepAngle"/>
  18. <attr format="float" name="textOffsetPercentInRadius"/>
  19. <attr format="string|reference" name="unit"/>
  20. <attr format="color|reference" name="unitColor"/>
  21. <attr format="dimension" name="unitSize"/>
  22. <attr format="float" name="value"/>
  23. <attr format="color|reference" name="valueColor"/>
  24. <attr format="dimension" name="valueSize"/>
  25. <color name="white">#FFFFFF</color>
  26. <declare-styleable name="CircleImageView">
  27. <attr format="dimension" name="border_width"/>
  28. <attr format="color" name="border_color"/>
  29. </declare-styleable>
  30. <declare-styleable name="CircleProgressBar">
  31. <attr name="antiAlias"/>
  32. <attr name="startAngle"/>
  33. <attr name="sweepAngle"/>
  34. <attr name="animTime"/>
  35. <attr name="maxValue"/>
  36. <attr name="value"/>
  37. <attr name="precision"/>
  38. <attr name="valueSize"/>
  39. <attr name="valueColor"/>
  40. <attr name="textOffsetPercentInRadius"/>
  41. <attr name="hint"/>
  42. <attr name="hintSize"/>
  43. <attr name="hintColor"/>
  44. <attr name="unit"/>
  45. <attr name="unitSize"/>
  46. <attr name="unitColor"/>
  47. <attr name="arcWidth"/>
  48. <attr name="arcColors"/>
  49. <attr name="bgArcColor"/>
  50. <attr format="dimension" name="bgArcWidth"/>
  51. </declare-styleable>
  52. <declare-styleable name="CircularProgressView">
  53. <attr format="dimension" name="backWidth"/>
  54. <attr format="dimension" name="progWidth"/>
  55. <attr format="color" name="backColor"/>
  56. <attr format="color" name="progColor"/>
  57. <attr format="color" name="progStartColor"/>
  58. <attr format="color" name="progFirstColor"/>
  59. <attr format="integer" name="progress"/>
  60. </declare-styleable>
  61. <declare-styleable name="DialProgress">
  62. <attr name="antiAlias"/>
  63. <attr name="startAngle"/>
  64. <attr name="sweepAngle"/>
  65. <attr name="animTime"/>
  66. <attr name="maxValue"/>
  67. <attr name="value"/>
  68. <attr name="precision"/>
  69. <attr name="valueSize"/>
  70. <attr name="valueColor"/>
  71. <attr name="textOffsetPercentInRadius"/>
  72. <attr name="unit"/>
  73. <attr name="unitSize"/>
  74. <attr name="unitColor"/>
  75. <attr name="hint"/>
  76. <attr name="hintSize"/>
  77. <attr name="hintColor"/>
  78. <attr name="arcWidth"/>
  79. <attr format="dimension|reference" name="dialWidth"/>
  80. <attr format="integer" name="dialIntervalDegree"/>
  81. <attr name="arcColors"/>
  82. <attr name="bgArcColor"/>
  83. <attr format="color|reference" name="dialColor"/>
  84. </declare-styleable>
  85. <declare-styleable name="WaveProgress">
  86. <attr name="antiAlias"/>
  87. <attr format="integer" name="darkWaveAnimTime"/>
  88. <attr format="integer" name="lightWaveAnimTime"/>
  89. <attr name="maxValue"/>
  90. <attr name="value"/>
  91. <attr name="valueColor"/>
  92. <attr name="valueSize"/>
  93. <attr name="hint"/>
  94. <attr name="hintSize"/>
  95. <attr name="hintColor"/>
  96. <attr format="dimension" name="circleWidth"/>
  97. <attr format="color|reference" name="circleColor"/>
  98. <attr format="color|reference" name="bgCircleColor"/>
  99. <attr format="boolean" name="lockWave"/>
  100. <attr format="integer" name="waveNum"/>
  101. <attr format="dimension" name="waveHeight"/>
  102. <attr format="color|reference" name="darkWaveColor"/>
  103. <attr format="boolean" name="showLightWave"/>
  104. <attr format="color|reference" name="lightWaveColor"/>
  105. <attr format="enum" name="lightWaveDirect">
  106. <enum name="L2R" value="0"/>
  107. <enum name="R2L" value="1"/>
  108. </attr>
  109. </declare-styleable>
  110. </resources>