Blame view

C5/txpad/src/main/res/values/attrs.xml 2.29 KB
fac86401   孙向锦   初始化C5 Vote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  <?xml version="1.0" encoding="utf-8"?>
  <resources>
      <declare-styleable name="CircleProgress">
          <!-- 进度条的背景色-->
          <attr name="bgColor" format="color" />
          <!-- 进度条的前景色 起始颜色-->
          <attr name="foreStartColor" format="color" />
          <!-- 进度条的前景色 结束颜色-->
          <attr name="foreEndColor" format="color" />
          <!-- 进度条的大小-->
          <attr name="progressWidth" format="dimension" />
          <!-- 最大进度-->
          <attr name="maxProgress" format="integer" />
          <!-- 现在的进度-->
          <attr name="currProgress" format="integer" />
          <!-- 进度条的起始位置-->
          <attr name="progressInitialPosition" format="integer" />
          <!-- 是否使用动画-->
          <attr name="useAnimation" format="boolean" />
          <!-- 使用渐变-->
          <attr name="useGradient" format="boolean" />
          <!-- 边角是否是圆的-->
          <attr name="isCircleCorner" format="boolean" />
          <!-- 是否是实心的-->
          <attr name="isSolid" format="boolean" />
  
          <!-- 圆圈内描述 -->
          <attr name="desc" format="string"/>
  
          <!--当前进度文本显示-->
          <attr name="curNum" format="string"/>
  
          <!--最大进度文本显示-->
          <attr name="maxNum" format="string"/>
  
      </declare-styleable>
  
      <declare-styleable name="TickCircleProgress">
          <!-- 刻度条的粗细-->
          <attr name="tickWidth" format="dimension" />
          <!-- 刻度的颜色-->
          <attr name="tickColor" format="color" />
          <!-- 刻度条的高度-->
          <attr name="tickMarkHeight" format="dimension" />
      </declare-styleable>
  
      <declare-styleable name="TextCircleProgress">
          <!-- 主标题颜色-->
          <attr name="headColor" format="color" />
          <!-- 副标题颜色-->
          <attr name="subHeadColor" format="color" />
          <!-- 主标题字体大小-->
          <attr name="headSize" format="dimension" />
          <!-- 副标题字体大小-->
          <attr name="subHeadSize" format="dimension" />
          <!-- 底部标题颜色-->
          <attr name="bottomHeadColor" format="color" />
          <!-- 底部标题大小-->
          <attr name="bottomHeadSize" format="dimension" />
      </declare-styleable>
  </resources>