How to switch fragment orientation on Navigation Graph in Android Studio

733 Views Asked by At

I added two fragments to a Navigation map in Android Studio and they appeared landscape.

I would like to switch them to portrait view to save view space. Can some help?

enter image description here

1

There are 1 best solutions below

1
Alexandru Tatarciuc On BEST ANSWER

Just press the key O (not zero) on your keyboard. The orientation will change only after you move the cursor.