Pick the fix
An app checks isTablet from screen size to show a two-pane layout, but in split-screen on a tablet the panes are squashed. Fix?
Hint 1 of 1
Is a tablet always a wide window?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Use the window size class and show two panes only for expanded width
Correct. The window, not the device, decides the layout.
Why not the others?
- B Lock the app to full screen. Users choose split-screen; you can't prevent it on large screens.
- C Use the device's physical size in inches. That still ignores the window size.
- D Disable split-screen in the manifest. Recent Android versions ignore that on large screens.