Stable-V.1.0.1

- added a progressbar for the song
This commit is contained in:
janis
2022-03-12 11:56:19 +01:00
parent 1773eb882e
commit 1aae4a74cf
6 changed files with 55 additions and 18 deletions

View File

@@ -67,7 +67,7 @@ RootScreen:
<Home>:
name: "Home"
md_bg_color: app.theme_cls.accent_color
md_bg_color: app.theme_cls.accent_dark
GridLayout:
cols: 1
Label:
@@ -100,7 +100,7 @@ RootScreen:
<Main>:
on_pre_enter: root.initialize()
name: "Main"
md_bg_color: app.theme_cls.accent_color
md_bg_color: app.theme_cls.accent_dark
GridLayout:
cols: 1
GridLayout:
@@ -163,33 +163,45 @@ RootScreen:
FloatLayout:
Label:
text: "Currently Playing"
bold: True
italic: True
pos_hint: {"y": 0.35}
font_size: 45
font_size: 60
color: app.theme_cls.primary_color
MDProgressBar:
orientation: "horizontal"
value: 100
pos_hint: {"y": 0.3}
color: (1, 1, 1, 0.5)
MDProgressBar:
id: progressbars
orientation: "horizontal"
value: 0
pos_hint: {"y": 0.3}
color: app.theme_cls.primary_dark
Label:
id: current_song
text: "Currently playing Song will appear here"
pos_hint: {"y": 0.22}
font_size: 30
font_size: 45
color: app.theme_cls.primary_color
shorten: False
halign: "center"
Label:
text: "upcoming"
font_size: 25
bold: True
italic: True
font_size: 35
pos_hint: {"y": -0.05}
color: app.theme_cls.primary_color
Label:
id: upcoming_songs
text: "Upcoming Songs will appear here"
pos_hint: {"y": -0.25}
font_size: 20
font_size: 30
color: app.theme_cls.primary_color
shorten: False
halign: "center"
Button:
text: "back"
font_size: 10