Manage layout depending on the device

Viewed 22

I am building a kivy app witch run on both desktop and mobile devices.

I would like to adapt the layout depending on the screen size / orientation.

For example, I have 2 screens : the search screen and the result screen. The search screen has to be in fullscreen on a mobile and open the result screen in fullscreen too when an element is selected. On the desktop, the search screen take the left part of the window aside the result screen in the right part.

As I want my code as generic as possible, which is the best way to handle that problematic ?

Txs, piwai

0 Answers
Related