forked from alamkanak/Android-Week-View
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathattrs.xml
More file actions
134 lines (112 loc) · 5.63 KB
/
attrs.xml
File metadata and controls
134 lines (112 loc) · 5.63 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
131
132
133
134
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="WeekView">
<!-- Calendar configuration -->
<attr name="numberOfVisibleDays" format="integer" />
<attr name="restoreNumberOfVisibleDays" format="boolean" />
<attr name="showCurrentTimeFirst" format="boolean" />
<attr name="arrangeAllDayEventsVertically" format="boolean" />
<attr name="stickToWeekInWeekView" format="boolean" />
<!-- Deprecated -->
<attr name="showFirstDayOfWeekFirst" format="boolean" />
<!-- Header bottom line -->
<attr name="showHeaderBottomLine" format="boolean" />
<attr name="headerBottomLineColor" format="color" />
<attr name="headerBottomLineWidth" format="dimension" />
<!-- Header bottom shadow -->
<attr name="showHeaderBottomShadow" format="boolean" />
<attr name="headerBottomShadowColor" format="color" />
<attr name="headerBottomShadowRadius" format="dimension" />
<!-- Time column -->
<attr name="timeColumnTextColor" format="color" />
<attr name="timeColumnBackgroundColor" format="color" />
<attr name="timeColumnPadding" format="dimension" />
<attr name="timeColumnTextSize" format="dimension" />
<attr name="showMidnightHour" format="boolean" />
<attr name="showTimeColumnHourSeparator" format="boolean" />
<attr name="timeColumnHoursInterval" format="integer" />
<!-- Time column separator -->
<attr name="showTimeColumnSeparator" format="boolean" />
<attr name="timeColumnSeparatorColor" format="color" />
<attr name="timeColumnSeparatorStrokeWidth" format="dimension" />
<!-- Time range -->
<attr name="minHour" format="integer" />
<attr name="maxHour" format="integer" />
<!-- Header row -->
<attr name="headerBackgroundColor" format="color" />
<attr name="headerPadding" format="dimension" />
<attr name="headerTextSize" format="dimension" />
<attr name="headerTextColor" format="color" />
<attr name="todayHeaderTextColor" format="color" />
<attr name="weekendHeaderTextColor" format="color" />
<!-- Week number -->
<attr name="showWeekNumber" format="boolean" />
<attr name="weekNumberTextColor" format="color" />
<attr name="weekNumberTextSize" format="dimension" />
<attr name="weekNumberBackgroundColor" format="color" />
<attr name="weekNumberBackgroundCornerRadius" format="dimension" />
<!-- Event chips -->
<attr name="eventCornerRadius" format="dimension" />
<attr name="eventTextSize" format="dimension" />
<attr name="adaptiveEventTextSize" format="boolean" />
<attr name="eventTextColor" format="color" />
<attr name="eventPaddingHorizontal" format="dimension" />
<attr name="eventPaddingVertical" format="dimension" />
<attr name="defaultEventColor" format="color" />
<attr name="allDayEventTextSize" format="dimension" />
<!-- Event margins -->
<attr name="columnGap" format="dimension" />
<attr name="overlappingEventGap" format="dimension" />
<attr name="eventMarginVertical" format="dimension" />
<attr name="singleDayHorizontalPadding" format="dimension" />
<!-- Colors -->
<attr name="dayBackgroundColor" format="color" />
<attr name="todayBackgroundColor" format="color" />
<attr name="pastBackgroundColor" format="color" />
<attr name="futureBackgroundColor" format="color" />
<attr name="pastWeekendBackgroundColor" format="color" />
<attr name="futureWeekendBackgroundColor" format="color" />
<!-- Hour height -->
<attr name="hourHeight" format="dimension" />
<attr name="minHourHeight" format="dimension" />
<attr name="maxHourHeight" format="dimension" />
<attr name="showCompleteDay" format="boolean" />
<!-- Now line -->
<attr name="showNowLine" format="boolean" />
<attr name="nowLineColor" format="color" />
<attr name="nowLineStrokeWidth" format="dimension" />
<!-- Now line dot -->
<attr name="showNowLineDot" format="boolean" />
<attr name="nowLineDotColor" format="color" />
<attr name="nowLineDotRadius" format="dimension" />
<!-- Hour separators -->
<attr name="showHourSeparator" format="boolean" />
<attr name="hourSeparator" format="enum">
<enum name="line" value="0" />
<enum name="dashLine" value="1" />
</attr>
<attr name="hourSeparatorDashGap" format="dimension" />
<attr name="hourSeparatorDashWidth" format="dimension" />
<attr name="hourSeparatorColor" format="color" />
<attr name="hourSeparatorStrokeWidth" format="dimension" />
<!-- Day separators -->
<attr name="showDaySeparator" format="boolean" />
<attr name="daySeparatorColor" format="color" />
<attr name="daySeparatorStrokeWidth" format="dimension" />
<!-- Scrolling -->
<attr name="horizontalScrollingEnabled" format="boolean" />
<!-- Font -->
<attr name="fontFamily" format="string" />
<attr name="typeface">
<enum name="normal" value="0" />
<enum name="sans" value="1" />
<enum name="serif" value="2" />
<enum name="monospace" value="3" />
</attr>
<attr name="textStyle">
<flag name="normal" value="0" />
<flag name="bold" value="1" />
<flag name="italic" value="2" />
</attr>
</declare-styleable>
</resources>