+ 1

Python Kivy get Screen Dimensions

how would i go about getting the screen dimensions on an android device to make sure that all the widgets inside of the app fit and look good without any size problems? I was also wondering if this was possible to do in kivy, but i havent been able to find anything.

7th Sep 2018, 7:58 AM
Dave David
Dave David - avatar
3 Antworten
+ 2
You could simply use this Module: (from kivy.core.window import Window) and then determine sizes by writing this: (Window.size) Check this code out: ⬇️⬇️ https://code.sololearn.com/cVMsmIJ2rK7p/?ref=app
26th May 2019, 8:53 PM
Majd Suhail
Majd Suhail - avatar
7th Sep 2018, 8:13 AM
Daniele Bonomi
Daniele Bonomi - avatar
+ 1
Tried to use kivy layouts ? You have readed the tutorial on official site?
7th Sep 2018, 8:36 AM
KrOW
KrOW - avatar