How to determine the size of android screens on kivy
You can help.
I need python Kivy to determine the length and height of the phone's display to adapt applications, since the proportions are known.
Is there any way to do this?
0
1 answers
Kivy.core.window.Window
Abstract window widget for any window implementation.
Constructor parameters:
- width: int - window width
- height: int - window height
- minimum_width: int - minimum window width
- minimum_height: int - minimum window height
Dpi () - Returns the screen resolution. If the implementation does not support DPI lookup, it will just return 96. (This value is not cross-platform. Use kivy. base.EventLoop. dpi instead)
1
Author: Vdovin Daniil, 2020-03-06 08:18:41