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()