Inspectopedia Help

Incompatible screenOrientation value

Incompatible screenOrientation value

The <activity> element should not be locked to any orientation so that users can take advantage of the multi-window environments and larger screens available on Android. To fix the issue, consider declaring the corresponding activity element with `screenOrientation="unspecified"or"fullSensor"` attribute.

Issue id: LockedOrientationActivity

https://developer.android.com/topic/arc/window-management

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023