O'Reilly logo

Kivy – Interactive Applications and Games in Python - Second Edition by Roberto Ulloa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ActionBar – a responsive bar

A new set of widgets were introduced in Kivy 1.8.0, all of them related to the ActionBar widget. This widget resembles the Android's action bar. This will not only give your applications a modern and professional look, but it also includes more subtle properties such as responsiveness to small screens. Depending on the ActionBar widget hierarchy and components, the different widgets will collapse in order to adapt to the screen space available in the device. First, let's take a look at the final result of our planned ActionBar:

ActionBar – a responsive bar

We add the Kivy language code to produce the previous bar in a new file kivyplayer.kv, as presented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required