-
Notifications
You must be signed in to change notification settings - Fork 1
/
CryptoCoinTracker.txt
68 lines (56 loc) · 1.61 KB
/
CryptoCoinTracker.txt
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
<FloatLayout>
input_name: coin_name
Label:
text: "Crypto Coin Checker"
pos_hint: {"x": 0.4,"top": 0.98}
size_hint: 0.2, 0.1
font_size: 30
Label:
text: "Enter Coin Name (e.g bitcoin): "
pos_hint: {"x": 0.25,"top": 0.825}
size_hint: 0.2, 0.1
TextInput:
id: coin_name
multiline: False
size_hint: 0.2, 0.05
pos_hint: {"x": 0.5,"top": 0.8}
Button:
id: btn
text: root.check_state
background_color: "green"
color: "yellow"
on_press: root.change_label()
on_release: root.check_coin()
pos_hint: {"x": 0.35,"top": 0.7}
size_hint: 0.2, 0.05
Label:
text: root.coin_name
pos_hint: {"x": 0.25,"top": 0.6}
size_hint: 0.2, 0.05
Label:
text: root.coin_price
pos_hint: {"x": 0.5,"top": 0.6}
size_hint: 0.2, 0.05
Label:
text: root.coin_mcap
pos_hint: {"x": 0.35,"top": 0.5}
size_hint: 0.2, 0.05
Label:
text: root.coin_advice
color: "green"
pos_hint: {"x": 0.4,"top": 0.4}
size_hint: 0.2, 0.05
Label:
text: root.coin_warning
color: "red"
pos_hint: {"x": 0.35,"top": 0.4}
size_hint: 0.2, 0.05
Label:
text: "Created By Marcus Ojo-Osasere"
pos_hint: {"x": 0.4,"top": 0.2}
size_hint: 0.2, 0.05
font_size: 20
Label:
text: "Platform makes use of the coingecko API so any coin not listed coingecko can't be found here"
pos_hint: {"x": 0.35,"top": 0.1}
size_hint: 0.35, 0.05