+ 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.
3 odpowiedzi
+ 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
+ 1
I don't know much about it but this may help you
https://stackoverflow.com/questions/37857346/can-you-obtain-physical-size-of-device-in-kivy
+ 1
Tried to use kivy layouts ? You have readed the tutorial on official site?