forked from HusamFathi/KivyMD-Dashboard-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.kv
94 lines (85 loc) · 2.51 KB
/
main.kv
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
# 56, 40, 81
MDScreen:
md_bg_color:56/255,40/255,81/255,1
MDBoxLayout:
orientation:'vertical'
MDBoxLayout:
size_hint_y:.25
padding:dp(25)
MDBoxLayout:
orientation:"vertical"
MDLabel:
text:"Hussam's Family"
font_style:"H4"
MDBoxLayout:
adaptive_size:True
spacing:dp(10)
MDLabel:
text:"Home"
text_size:None,None
adaptive_width:True
MDIcon:
icon:'chevron-down'
MDIconButton:
icon:"images/notification.png"
MDGridLayout:
size_hint_y:.75
cols:2
padding:[dp(15),dp(15),dp(15),dp(35)]
spacing:dp(15)
ElementCard:
image:"images/calendar.png"
text:"Calender"
subtext:"March, Wednesday"
items_count:"3 Events"
ElementCard:
image:"images/food.png"
text:"Groceries"
subtext:"Broccoli, Apple"
items_count:"4 Items"
ElementCard:
image:"images/map.png"
text:"Location"
subtext:"Lucy Mao going to Office"
items_count:""
ElementCard:
image:"images/festival.png"
text:"Activity"
items_count:""
subtext:"Rose favorite your Post"
ElementCard:
image:"images/todo.png"
text:"To Do"
subtext:"Homework, Design"
items_count:"4 Items"
ElementCard:
image:"images/setting.png"
text:"Setting"
subtext:""
items_count:"4 Items"
<ElementCard@MDCard>:
md_bg_color:69/255,55/255,86/255,1
padding:dp(15)
spacing:dp(15)
radius:dp(25)
ripple_behavior: True
image:''
text:""
items_count:""
subtext:''
orientation:'vertical'
Image:
source:root.image
MDBoxLayout:
orientation:'vertical'
MDLabel:
halign:"center"
text:root.text
font_style:"H6"
MDLabel:
halign:"center"
font_style:"Caption"
text:root.subtext
MDLabel:
halign:"center"
text:root.items_count