-
Notifications
You must be signed in to change notification settings - Fork 145
/
Copy pathattrs.xml
57 lines (41 loc) · 2.18 KB
/
attrs.xml
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
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="RangeSeekBar">
<!-- the minimum of the range -->
<attr name="absoluteMinValue" format="integer|float"/>
<!-- the maximum of the range -->
<attr name="absoluteMaxValue" format="integer|float"/>
<!-- show a single slider -->
<attr name="singleThumb" format="boolean"/>
<!-- show the labels on the right and left-->
<attr name="showLabels" format="boolean"/>
<!-- alwaysActive will make the buttons and bar always draw as the activeColor (the default is false) -->
<attr name="alwaysActive" format="boolean"/>
<!-- show the currently selected value above each thumb (defaults to true) -->
<attr name="valuesAboveThumbs" format="boolean"/>
<!-- padding on either side on the slider -->
<attr name="internalPadding" format="dimension"/>
<!-- the height of the bar -->
<attr name="barHeight" format="dimension"/>
<!-- the height of the active bar -->
<attr name="activeBarHeight" format="dimension"/>
<!-- the color of the bar that is not selected -->
<attr name="defaultColor" format="color"/>
<!-- the color of the bar that is selected -->
<attr name="activeColor" format="color"/>
<!-- the color of the text above thumbs -->
<attr name="textAboveThumbsColor" format="color"/>
<!-- set drawables for thumb handles -->
<attr name="thumbNormal" format="reference"/>
<attr name="thumbPressed" format="reference"/>
<attr name="thumbDisabled" format="reference"/>
<!-- thumb shadow specifications -->
<attr name="thumbShadow" format="boolean"/>
<attr name="thumbShadowColor" format="color"/>
<attr name="thumbShadowXOffset" format="dimension"/>
<attr name="thumbShadowYOffset" format="dimension"/>
<attr name="thumbShadowBlur" format="dimension"/>
<!-- to activate the thumbs and texts when the min and max values are the default ones (defaults to false) -->
<attr name="activateOnDefaultValues" format="boolean"/>
</declare-styleable>
</resources>