-
Notifications
You must be signed in to change notification settings - Fork 0
/
my.kv
44 lines (35 loc) · 1.22 KB
/
my.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
ScreenManager:
MainScreen:
<MainScreen>:
BoxLayout:
orientation: "vertical"
BoxLayout:
orientation: "vertical"
canvas.before:
Color:
rgba: app.theme_cls.primary_color
RoundedRectangle:
radius: [0, 0, 20, 20]
size: root.width, root.height
pos: self.pos
MDLabel:
halign: "center"
text: "Welcome"
pos_hint: {"center_x": 0.5, "y": 0.5}
BoxLayout:
orientation: "vertical"
FloatLayout:
MDRoundFlatButton:
text: "Login"
pos_hint: {"center_x": 0.5, "y": 0.4}
size_hint_x: 0.9
size_hint_y: None
theme_text_color: 'Custom'
text_color: root.theme_cls.primary_color
MDRoundFlatButton:
text: "Sign In"
pos_hint: {"center_x": 0.5, "y": 0.1}
theme_text_color: 'Custom'
text_color: root.theme_cls.primary_color
size_hint_x: 0.9
size_hint_y: None