【Kivy】ActionBar を表示する

  • main.py
from kivy.app import App

class MainApp(App):
    pass

if __name__ == '__main__':
    MainApp().run()
  • main.kv
#:kivy 1.0
ActionBar:
    ActionView:
        ActionPrevious:
            title: 'Previous'
            with_previous: False
        ActionButton:
            text: 'button'