from kivymd.app import MDApp
from kivy.lang import Builder
from beeui.card import BeeCard
from beeui.layouts import BeeSideRail
from kivy.uix.boxlayout import BoxLayout
from kivymd.uix.label import MDIcon
from beeui.labels import BeeHeaderLabel, BeeTextSpanLabel, BeeFitLabel
from beeui.textinput import BeeTextInput
from beeui.buttons import BeeAbstractButton, BeePlainButton, BeeButton
from kivy.config import Config
from kivy.config import Config
Config.set('graphics', 'dpi', '160') # Adjust value as needed
Config.set('graphics', 'width', '1920')
Config.set('graphics', 'height', '1080')
kv = """
#import MDIcon kivymd.uix.label
BoxLayout:
BeeSideRail:
BoxLayout:
padding: 10
orientation: 'vertical'
BeeFitLabel:
text: "Recents"
hflow: True
BoxLayout:
orientation: "vertical"
padding: 10
spacing: 10
BeeCompoundButton:
orientation: "vertical"
size_hint_y: .2
MDLabel:
text: "/mog/home/downlaod/album/songs/glass.mp3"
BoxLayout:
spacing: 10
BeeButton:
text: "Mutate"
bold: True
BeeButton:
text: "Immutate"
bold: True
BeeButton:
text: "Delete"
background_color: [.8, 0, 0, .5]
BoxLayout:
BoxLayout:
padding: 10
orientation: 'vertical'
BeeTextInput:
right_buttons: [{"icon": "plus"}]
BoxLayout:
orientation: "vertical"
spacing: 20
#
# BeeHeaderLabel:
# text: "No Backup tap the '+' to add one"
# size_hint_y: None
# height: self.texture_size[1]
# # text_size: self.size
# halign: "center"
#
# MDIcon:
# icon: "safe-square"
# size_hint_y: None
# height: self.texture_size[1]
# font_size: 70
# text_size: self.size
# halign: "center"
# color: [.6, .6, .6, 1]
"""
class BeeCompoundButton(BoxLayout, BeeAbstractButton):
def __init__(self, **kwargs):
super().__init__(**kwargs)
class BaseBackApp(MDApp):
def build(self):
# self.theme_cls.theme_style = 'Dark'
return Builder.load_string(kv)
if __name__ == '__main__':
BaseBackApp().run()