Landscape mode in new UI kinda messed up

Hello,
Totday i was Working on My project wich uses landscape mode but whenever i turn on landscape mode i get this.
Landscape:

And this what i get when i am in portrait mode
Portrait:

This happens while live testing and installing the apk file

Does anyone know how to fix this?
Thanks