Commit 102c064 1 parent a4277d6 commit 102c064 Copy full SHA for 102c064
File tree 2 files changed +14
-10
lines changed
java/com/lriccardo/timelineview
2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import androidx.core.view.children
8
8
import androidx.recyclerview.widget.RecyclerView
9
9
10
10
class TimelineDecorator (
11
- val indicatorSize : Float = 12 .toPx().toFloat(),
12
11
val indicatorStyle : TimelineView .IndicatorStyle = TimelineView .IndicatorStyle .Filled ,
12
+ val indicatorSize : Float = 12 .toPx().toFloat(),
13
13
val checkedIndicatorSize : Float? = null ,
14
14
val checkedIndicatorStrokeWidth : Float = 4 .toPx().toFloat(),
15
- val lineWidth : Float? = null ,
16
15
val lineStyle : TimelineView .LineStyle ? = null ,
16
+ val lineWidth : Float? = null ,
17
17
val padding : Float = 16 .toPx().toFloat(),
18
18
val position : Position = Position .Left ,
19
19
@ColorInt val indicatorColor : Int? = null ,
Original file line number Diff line number Diff line change 7
7
<enum name =" last" value =" 2" />
8
8
<enum name =" spacer" value =" 3" />
9
9
</attr >
10
- <attr name =" indicator_size" format =" dimension" />
11
- <attr name =" checked_indicator_size" format =" dimension" />
12
- <attr name =" checked_indicator_stroke_width" format =" dimension" />
13
- <attr name =" indicator_color" format =" color" />
10
+
14
11
<attr name =" indicator_style" format =" enum" >
15
12
<enum name =" filled" value =" 0" />
16
13
<enum name =" empty" value =" 1" />
17
14
<enum name =" checked" value =" 2" />
18
15
</attr >
19
- <attr name =" line_width" format =" dimension" />
20
- <attr name =" line_dash_length" format =" dimension" />
21
- <attr name =" line_dash_gap" format =" dimension" />
22
- <attr name =" line_color" format =" color" />
16
+ <attr name =" indicator_size" format =" dimension" />
17
+ <attr name =" indicator_color" format =" color" />
18
+
19
+ <attr name =" checked_indicator_size" format =" dimension" />
20
+ <attr name =" checked_indicator_stroke_width" format =" dimension" />
21
+
23
22
<attr name =" line_style" format =" enum" >
24
23
<enum name =" normal" value =" 0" />
25
24
<enum name =" dashed" value =" 1" />
26
25
</attr >
26
+ <attr name =" line_width" format =" dimension" />
27
+ <attr name =" line_color" format =" color" />
28
+
29
+ <attr name =" line_dash_length" format =" dimension" />
30
+ <attr name =" line_dash_gap" format =" dimension" />
27
31
</declare-styleable >
28
32
</resources >
You can’t perform that action at this time.
0 commit comments