Skip to Content
Kivy Cookbook
book

Kivy Cookbook

by Hugo Solis
August 2015
Intermediate to advanced
246 pages
4h 21m
English
Packt Publishing
Content preview from Kivy Cookbook

Resizing the screen into iOS

When you run your app in the iOS device, you will note how different it looks from on the screen of your computer. Some widgets could not fit in the screen, and the location of them may change. In this recipe, we will learn how to address this situation using a simple app.

Getting ready

In this recipe, we are going to use the same code which was used in the previous recipe. Also, it is important to read the earlier recipe to know how to run your code in a real iOS device.

How to do it…

Now we have the two files: the main.py file that is the Python file with the operational part of the app and the e1.kv file that is the KV file with the graphical aspects of the app. If we want to improve our app design, we can run it like ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Creating Apps in Kivy

Creating Apps in Kivy

Dusty Phillips
Kivy Blueprints

Kivy Blueprints

Mark Vasilkov

Publisher Resources

ISBN: 9781783987382Supplemental Content