Google is officially killing the portrait lock. ππ±
With Android 17 (API 37), Google is completely ignoring screenOrientation and related manifest flags on large screens (sw600dp+).
Before Android 16, locking your app to portrait was a safe, predictable way to prevent legacy UI from breaking or camera previews from crashing. But as the ecosystem evolved with foldables, tablets, and split-screen multitasking, these flags started breaking the UX instead of protecting it. Opening a portrait-locked app on a Galaxy Z Fold inner screen is a notoriously bad experience.
Android 16 started ignoring these flags but gave developers a temporary opt-out. Now, Android 17 removes that opt-out entirely. Your app will fill the entire display window.
The era of single-orientation apps is over. Itβs time to fully embrace Window Size Classes and adaptive layouts. Build adaptive, or get left behind.
Are you already handling Window Size Classes in your Compose or Views architecture? Let me know below!...
Suggested Credits
Tags, Events, and Projects