Tag Archives: Android

Kivy Course #4 – Box Layout Example

This part is continuing with BoxLayout class of Kivy. BoxLayout is another common layout which is used frequently. It supports both vertical and horizontal orientations and size hints to spare the widgets at specific ratios.

The Python code is:

And the Kivy Language file is:

More explained documentation will come soon.

Kivy Course #3 – Grid Layout Example

In this section, layouts are introduced with more details and images of them are shown. Grid layout is one of the most known widgets and the code may be found below.

The main Python file:

And the Kivy Language file which should be named as izgara.kv:

 

Kivy Course #2 – More Buttons With Kivy Language

At the second part of the course, more buttons are added to root widget and Kivy Language is utilized while adding them. From this part, view section of the codes are seperated in a .kv file. You can find the codes below.

Our main python file:

 

Name this as uygulama.kv:

 

Kivy Course #1 – Introduction With a Basic App

At the first code of the Kivy course consists of a button which covers the entire screen and does nothing. You can just click the button and see that it is clicked with interaction. The code is:

Detailed explanation will be added soon.

[HowTo] [Python/Kivy] Building APK With Buildozer

In the previous post, how to install Kivy and Buildozer on Ubuntu is examined. In this post, you will find stages making APK files on Ubuntu with Python and Kivy using Buildozer. If you have followed the previous tutorial, you have already installed Buildozer on your virtual environment; however, it is not ready to making APK files for now. To test this statement, create a folder with a very basic main.py file(example from Kivy.org mainpage): Continue reading [HowTo] [Python/Kivy] Building APK With Buildozer