Pick the fix
An app sets screenOrientation="portrait"; on a tablet after targeting API 36 it shows a stretched phone UI in landscape. Fix?
Hint 1 of 1
Does the orientation lock still apply on large screens?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Adapt layout with window size classes, such as list-detail when expanded
Correct. The lock is ignored on large screens, so the layout must adapt.
Why not the others?
- B Set orientation lock twice. Still ignored.
- C Lower targetSdk. Only delays the problem.
- D Block tablets in Play. Loses users.