-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.kv
117 lines (101 loc) · 2.1 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# *-* coding: utf-8 *-*
<MainScreen>:
name: 'MainScreen'
size: 1280, 720
FloatLayout:
id: 'flt'
size: 1280, 720
col: 1, 1, 1, 1
canvas.before:
Color:
rgba: self.col
Rectangle:
pos: 0, 0
size: 1024, 800
Image:
pos: 70, 220
size_hint: 0.8, 1
source: 'img/header.png'
id: 'logoimg'
Image:
image_source: 'img/openmap.png'
id: 'mapimage'
pos: 160, 0
size_hint: 0.5625, 0.18
source: self.image_source
Button:
text: ''
id: 'mapbutton'
size_hint: 0.5625, 0.18
background_color: (0, 0, 0, 0)
pos: 160, 0
on_release:
app.toggle_map_btn()
app.generate_map_and_open()
Image:
i_image_source: 'img/light.png'
id: 'kind'
pos: 16, 0
size_hint: 0.075, 1
source: self.i_image_source
Image:
image_source: 'img/setoff.png'
id: 'ksettings'
pos: 16, 0
size_hint: 0.075, 0.133
source: self.image_source
Button:
text: ''
id: 'ksettingsbtn'
size_hint: 0.075, 0.133
background_color: (0, 0, 0, 0)
pos: 16, 0
on_release:
app.toggle_ks_btn()
Image:
i_image_source: 'img/light.png'
id: 'pind'
pos: 720 - 16, 0
size_hint: 0.075, 1
source: self.i_image_source
Image:
image_source: 'img/setoff.png'
id: 'psettings'
pos: 720 - 16, 0
size_hint: 0.075, 0.133
source: self.image_source
Button:
text: ''
id: 'psettingsbtn'
size_hint: 0.075, 0.133
background_color: (0, 0, 0, 0)
pos: 720 - 16, 0
on_release:
app.toggle_ps_btn()
BoxLayout:
pos: 185, 220
orientation: 'vertical'
size_hint: 0.5, 0.2
spacing: 10
TextInput:
id: 'userid'
hint_text: 'Id of user or None'
pos: 0, 0
TextInput:
id: 'trackid'
hint_text: 'Id of track or None'
pos: 0, 0
TextInput:
id: 'email'
hint_text: 'Type here email to send data & map'
pos: 0, 0
Image:
id: 'pods'
pos: 110, 60
size_hint: 0.7, 0.3
source: 'img/pods.png'
Image:
id: 'l'
pos: 110, 315
size_hint: 0.7, 0.3
source: 'img/l.png'