-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfingerprintscanner.kv
51 lines (42 loc) · 1.18 KB
/
fingerprintscanner.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
#:kivy 1.9.1
<MenuScreen>:
BoxLayout:
orientation: 'vertical'
Label:
text: 'Fingerprint Scanner'
font_size: 24
GridLayout:
size: root.size
rows: 2
cols: 2
spacing: 10
padding: 10
Button:
text: 'Login'
size_hint_y: None
on_press: root.manager.current = 'login'
Button:
text: 'Register'
size_hint_y: None
Button:
text: 'Check Compatibility'
size_hint_y: None
on_press: root.manager.current = 'compatibility'
Button:
text: 'Quit'
size_hint_y: None
on_press: app.stop()
<LoginScreen>:
BoxLayout:
Button:
text: 'My login button'
Button:
text: 'Back to main menu'
on_press: root.manager.current = 'menu'
<CompatibilityScreen>:
BoxLayout:
Button:
text: 'Check if device is compatible'
Button:
text: 'Back to main menu'
on_press: root.manager.current = 'menu'