As a premise: I am new to the programming world.
I would like to create my first application, which should run on different devices, that is, on smartphones or tablets with different screen sizes.
The main window should automatically adapt to the height of the device. I found on this forum two ways to control window size.
With the first, I can determine the size of the window:
from kivy.config import Config
Config.set('graphics', 'width', 200)
Config.set('graphics', 'height', 100)
But this is a static method with constant values. Alternatively, I could set the window to full screen:
from kivy.config import Config
Config.set('graphics', 'fullscreen', 1)
Thus, the window covers the entire screen and changes the proportion of the window and widgets inside ...
Is there a way to get the height of the display and use it to create my window?