RuleIn force
Large screens ignore orientation locks
Apps targeting Android 16 (API 36) can't lock orientation, resizability or aspect ratio on tablets, foldables and other large screens.
Apps targeting API 36 and higher
What the rule is
When an app targets API 36, Android 16 ignores screenOrientation, resizeableActivity="false", minAspectRatio and maxAspectRatio on displays with a smallest width of 600dp or more.
There is a temporary opt out, the android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY property. Android 17 behavior changes say it stops working for apps targeting API 37.
Games that set android:appCategory="game" are exempt.
Who it affects
Apps that lock portrait or landscape, mark activities as not resizable, or set aspect ratio limits, and that run on tablets, foldables, Chromebooks or desktop windows.
How to fix it
- Let layouts resize and rotate. Use window size classes instead of fixed orientation.
- Save state across configuration changes so rotation and resizing don't lose user input.
- Test on a tablet and a foldable emulator in both orientations.
- Treat the opt out property as a short bridge only, since it goes away at API 37.
What’s next
From April 2027, apps on Google Play must meet Tier 3 of the adaptive app quality guidelines for foldables and include foldable screenshots. In August 2027, new apps and updates must target API 37, which ends the opt out. Google hasn't named a day for either.
Check your app
Run this in your Android project. It checks this rule on your machine, and nothing about your project is uploaded.
npx play-preflight check --only large-screens