1

The second layout overlays the first layout only when rotating my device. I hope there is a fix for that.

I've tried changing the Stack layout with any other layout and the result stays the same.

here is the code source

when phone straight up when I rotate the iPhone the picture section is gone

Here is the code https://play.nativescript.org/?template=play-ng&id=b9hyJh&v=2

DJo
  • 2,133
  • 4
  • 30
  • 46

1 Answers1

0

This is because you have mentioned height and widths are fixed for components. Please make it as fluid Layout by giving %height and %width

Also if your app doesn’t need landscape view. Then just turn off the landscape view. https://stackoverflow.com/a/40411840/1868389

Kshirodra Meher
  • 228
  • 1
  • 3
  • 11