-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.kv
77 lines (74 loc) · 2.06 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
#:kivy 1.8.0
#:import main main
#:import get_random_color kivy.utils.get_random_color
#:import ListItemButton kivy.uix.listview.ListItemButton
#:import ListAdapter kivy.adapters.listadapter.ListAdapter
#:import SimpleListAdapter kivy.adapters.simplelistadapter.SimpleListAdapter
<Label>:
font_name: 'Ubuntu'
<Button>:
font_name: 'Ubuntu'
markup: True
<Main@MyScreenManager>:
search_results: []
backup_results: backup_results
size_hint: 1, 1
Screen:
name: 'Main'
id: MainScreen
Scatter:
size_hint: (1, 1)
auto_bring_to_front: False
disabled: True
MyImage:
id: background
pos: (0,0)
auto_bring_to_front: False
allow_stretch: True
MyBoxLayout:
ActionBarMain:
FloatLayout:
id: aphorism_container
WidgetAphorism:
FloatLayout:
MyStackLayout:
id: notifications
FloatLayout:
MyStackLayout:
id: notifications_Main
Screen:
name: 'Search'
MyBoxLayout:
ActionBarMain:
FormSearch:
id: FormSearch
FloatLayout:
MyStackLayout:
id: notifications_Search
Screen:
name: 'List'
BoxLayout:
orientation: "vertical"
ActionBarMain:
FormList:
id: FormList
FloatLayout:
MyStackLayout:
id: notifications_List
Screen:
name: 'Backup'
backup_results: backup_results
MyBoxLayout:
ActionBarMain:
DataForm:
size_hint_y: 0.6
FormTextArea:
size_hint_y: 0.4
font_name: 'assets/fonts/ubuntu/UbuntuMono-R.ttf'
id: backup_results
readonly: True
allow_copy: True
use_bubble: False
FloatLayout:
MyStackLayout:
id: notifications_Backup