Working with ActionBar

The ActionBar widget is like the popular Android's ActionBar. Here the children are stacked in horizontal and vertical groups such as menus. This recipe will use the ActionBar widget to organize eight buttons, and the bar will be the superior part of the app that has two buttons.

Getting ready

In this recipe, we need an icon such as the commonly used save icon. For this purpose, we will use the image floppy.png, which looks like:

Getting ready

How to do it…

Here, we will use a KV file to set and organize ActionBar and its children and the Python file to add ActionBar to our app. To complete the task, perform the following steps:

  1. In the KV file, ...

Get Kivy Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.