App with portrait+phone and landscape+tablet

Hi

Im developing an app that will show a number of records from airtabel in different arrays of buttons.

Ive seen that using landscape+tablet i would be able to show all buttons in the same screen

Can we have different screen layouts in the same app? Screen1 : Portrait+Phone, Screen2: Landscape+tablet … so i can check the device and redirect to a screen or another based on this?

Thanks!!

Hello @fedegarcia30hzc97a :wave:
You can detect the screen size using this block:
image
You can set the orientation using the following block:

Hi @ioannis

during design time we can’t have screens with different layouts so not sure how the app will behave when publishing with a specific layout

I’ll test tomorrow and send feedback

Thanks!

Hello @fedegarcia30hzc97a :wave:
Thank you for the explanation.
I now understand the issue there.
So, my suggestion would be to have two screens as you said, and based on the device size to navigate to the correct screen.