diff --git a/main.py b/main.py new file mode 100644 index 0000000..72478fa --- /dev/null +++ b/main.py @@ -0,0 +1,21 @@ +import kivy +from kivy.app import App +from kivy.uix.label import Label +from kivy.uix.boxlayout import BoxLayout + +class MyApp(App): + + def build(self): + return Label(text=unicode('Temperature Logger')) + +class MainScreen(BoxLayout): + + def __init__(self, **kwargs): + super(MainScreen, self).__init__(**kwargs) + self.orientation = 'vertical' + top = new BoxLayout(orientation = 'horizontal') + self.add_widget(top) + pass + +if __name__ == '__main__': + MyApp().run()