How Do I Manage Portrait and Landscape on Android?
Contents

How do I make my Android App portrait and landscape?

Android can be restricted to not switch the screen to landscape when rotated. Open the AndroidManifest. xml file, in the activity declaration element add the attribute screenOrientation and set it to portrait.

How do I get landscape mode on my Android?

To view mobile home screen in landscape mode, follow these steps:

  1. 1 On the Home screen, tap and hold an empty area.
  2. 2 Tap Home screen settings.
  3. 3 Tap the Portrait mode only switch to deactivate it.
  4. 4 Rotate the device until it is horizontal to view the screen in landscape mode.

11 нояб. 2020 г.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest