Answers for "kivy md"

0

kivy md

KV = '''
Screen:

    MDLabel:
        text: "Hello, World!"
        halign: "center"
'''

from kivy.lang import Builder

from kivymd.app import MDApp


class MainApp(MDApp):
    def build(self):
        return Builder.load_string(KV)

    def on_start(self):
        self.fps_monitor_start()


MainApp().run()
Posted by: Guest on April-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language