attrs.xml
5.29 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="LimitScroller">
<!--显示的条目数量-->
<attr name="limit" format="integer" />
<!--滚动速度,比如3000,滚动时间会持续3秒钟-->
<attr name="durationTime" format="integer" />
<!--滚动间隔,比如5000,滚动完成后停留5秒继续滚动-->
<attr name="periodTime" format="integer" />
</declare-styleable>
<declare-styleable name="RoundImageView">
<attr name="type" format="enum">
<enum name="circle" value="1"/>
<enum name="round" value="2"/>
</attr>
<attr name="radius" format="dimension"/>
</declare-styleable>
<declare-styleable name="RatingBar">
<!--尺寸值-->
<attr name="starImageSize" format="dimension" />
<!--星星间距-->
<attr name="starPadding" format="dimension" />
<!--星星总数-->
<attr name="starCount" format="integer" />
<!--空白的星星资源文件值-->
<attr name="starEmpty" format="reference" />
<!--满星资源文件值-->
<attr name="starFill" format="reference" />
<!--半星资源文件值-->
<attr name="starHalf" format="reference" />
<!--是否可点击boolean值-->
<attr name="clickable" format="boolean" />
<!--当前进度float值-->
<attr name="starStep" format="float" />
<!--每次进度方式的值,整星还是半星-->
<attr name="stepSize">
<enum name="Half" value="0" />
<enum name="Full" value="1" />
</attr>
</declare-styleable>
<!--环形进度条-->
<declare-styleable name="CircleProgressView">
<!--画笔宽度-->
<attr name="progress_width" format="dimension" />
<!--画笔颜色-->
<attr name="progress_color" format="color" />
<!--加载进度起始位置-->
<attr name="location_start" format="enum">
<enum name="left" value="1" />
<enum name="top" value="2" />
<enum name="right" value="3" />
<enum name="bottom" value="4" />
</attr>
</declare-styleable>
<declare-styleable name="HomeMine_TitleView">
<attr name="tv_titleName" format="string" />
<attr name="tv_content" format="string" />
<attr name="tv_imgSrc" format="reference" />
<attr name="tv_showLine" format="boolean" />
</declare-styleable>
<declare-styleable name="Comm_SelectView">
<attr name="sv_titleName" format="string" />
<attr name="sv_hintText" format="string" />
<attr name="sv_ishowimg" format="boolean" />
<attr name="sv_ishowline" format="boolean" />
</declare-styleable>
<declare-styleable name="Comm_EditView_WtihClearBtn">
<attr name="ev_hintText" format="string" />
<attr name="ev_maxLength" format="integer" />
</declare-styleable>
<declare-styleable name="MultiStateView">
<attr name="msv_loadingView" format="reference" />
<attr name="msv_emptyView" format="reference" />
<attr name="msv_errorView" format="reference" />
<attr name="msv_viewState" format="enum">
<enum name="content" value="0" />
<enum name="error" value="1" />
<enum name="empty" value="2" />
<enum name="loading" value="3" />
</attr>
<attr name="msv_loading_img_id" format="reference" />
</declare-styleable>
<declare-styleable name="SwitchButton">
<attr name="sb_shadow_radius" format="reference|dimension" />
<attr name="sb_shadow_offset" format="reference|dimension" />
<attr name="sb_shadow_color" format="reference|color" />
<attr name="sb_uncheck_color" format="reference|color" />
<attr name="sb_checked_color" format="reference|color" />
<attr name="sb_border_width" format="reference|dimension" />
<attr name="sb_checkline_color" format="reference|color" />
<attr name="sb_checkline_width" format="reference|dimension" />
<attr name="sb_uncheckcircle_color" format="reference|color" />
<attr name="sb_uncheckcircle_width" format="reference|dimension" />
<attr name="sb_uncheckcircle_radius" format="reference|dimension" />
<attr name="sb_checked" format="reference|boolean" />
<attr name="sb_shadow_effect" format="reference|boolean" />
<attr name="sb_effect_duration" format="reference|integer" />
<attr name="sb_button_color" format="reference|color" />
<attr name="sb_show_indicator" format="reference|boolean" />
<attr name="sb_background" format="reference|color" />
<attr name="sb_enable_effect" format="reference|boolean" />
</declare-styleable>
<!-- 裁剪图片 -->
<declare-styleable name="CropImageView">
<attr name="cropMaskColor" format="color" />
<attr name="cropBorderColor" format="color" />
<attr name="cropBorderWidth" format="dimension" />
<attr name="cropFocusWidth" format="dimension" />
<attr name="cropFocusHeight" format="dimension" />
<attr name="cropStyle" format="enum">
<enum name="rectangle" value="0" />
<enum name="circle" value="1" />
</attr>
</declare-styleable>
</resources>