Galaxy Z Fold2 Window Insets
Dimensions
- Logical Size
- 320 × 886 dp
- Resolution
- 816 × 2260 px
- Aspect Ratio
- 4:11
- sw600dp
- No
- Captured Window
- 960 × 2658 px
- Physical Density
- pending
- Android Density
- 480 dpi
- Scale
- 3×
What does sw600dp mean?
“sw” means smallest width. Android's sw600dp resource qualifier applies when the app's smallest available width is at least 600 dp. The Yes/No value here compares the selected display's shorter measured logical dimension with 600 dp; exactly 600 dp counts as Yes.
Why do outer and inner sizes differ?
The diagram is drawn in Android layout units, not millimeters. Each display has its own pixel resolution and Android density, so a smaller px or dp value does not mean a physically shorter display.
- Outer: 960 × 2658 px ÷ 3 (480 dpi) = 320 × 886 dp
- Inner: 1768 × 2208 px ÷ 3 (480 dpi) = 589.33 × 736 dp
Safe Area Insets
- Top
- 31 dp
- Bottom
- 48 dp
- Left
- 0 dp
- Right
- 0 dp
With the keyboard hidden, Compose's WindowInsets.safeDrawing and a View's systemBars() or displayCutout() insets resolve to these values.Compose · Views guide →
Display Cutout Bounds
- Size
- 24 × 30.67 dp
- Left
- 148 dp
- Top
- 0 dp
- Right
- 148 dp
- Bottom
- 855.33 dp
Android-reported exclusion rectangle. Camera lenses may share one region; individual lens diameters and spacing are not measured.Cutout measurement limits →
Use in development Preview spec, size class, AVD, adb
Compose Preview
// Galaxy Z Fold2 · cover · 3-button · ROTATION_0 (captured 2026-09-22)
@Preview(device = "spec:width=960px,height=2658px,dpi=480,cutout=punch_hole,navigation=buttons")
@Composable
fun ZFold2CoverPreview() {
// Your screen here
}Size and density match this capture exactly. Compose Preview draws its own generic system bars and cutout, not One UI's: check layouts against the measured insets above.
Window Size Class
- Window
- 320 × 886 dp
- Width / Height
- Compact / Medium
- Cover · ROTATION_0Compact / Medium320 × 886 dp
- Cover · ROTATION_90Expanded / Compact886 × 320 dp
- Cover · ROTATION_270Expanded / Compact886 × 320 dp
- Main · ROTATION_0Compact / Medium589.33 × 736 dpFLAT · VERTICAL · x=294.67dp
- Main · ROTATION_90Medium / Medium736 × 589.33 dpFLAT · HORIZONTAL · y=294.67dp
- Main · ROTATION_270Medium / Medium736 × 589.33 dpFLAT · HORIZONTAL · y=294.67dp
From WindowMetrics' maximum window in each capture (breakpoints: width 600 / 840 dp, height 480 / 900 dp; Large ≥ 1200 dp). Rotations without a capture are never derived by swapping width and height. HALF_OPENED (tabletop and book postures) is not measured yet: Remote Test Lab devices cannot be folded.
Emulator
The official screen diagonal is not sourced yet, so no hardware profile is offered.
# Galaxy Z Fold2 · cover · 3-button · ROTATION_0 (captured 2026-09-22)
adb shell wm size 960x2658
adb shell wm density 480
adb shell cmd overlay enable-exclusive --category com.android.internal.systemui.navbar.threebutton
adb shell cmd overlay enable-exclusive --category com.android.internal.display.cutout.emulation.hole
adb shell settings put system accelerometer_rotation 0
adb shell settings put system user_rotation 0
# Restore the emulator's defaults
adb shell wm size reset
adb shell wm density reset
adb shell cmd overlay enable-exclusive --category com.android.internal.systemui.navbar.gestural
adb shell cmd overlay disable com.android.internal.display.cutout.emulation.hole
adb shell settings put system user_rotation 0
adb shell settings put system accelerometer_rotation 1Runs your app at this capture's window size and density in the selected navigation mode and rotation; open your app first, since a portrait-locked launcher keeps the display upright. The cutout is AOSP's generic punch hole and the system bars stay the emulator's own, so the measured insets above are not reproduced.
Official Samsung emulator skins ↗Android details & sources All insets, test fixture, captures
The full RTL device catalog could not be checked. This does not mean the model is unsupported.
Checked 2026-09-25 · Measured selectionSystem Bars · 3-button
- Top
- 31 dp
- Bottom
- 48 dp
- Left
- 0 dp
- Right
- 0 dp
Display Cutout Insets
- Top
- 30.67 dp
- Bottom
- 0 dp
- Left
- 0 dp
- Right
- 0 dp
Status Bars
- Top
- 31 dp
- Bottom
- 0 dp
- Left
- 0 dp
- Right
- 0 dp
Navigation Bars
- Top
- 0 dp
- Bottom
- 48 dp
- Left
- 0 dp
- Right
- 0 dp
System Gestures
- Top
- 42.67 dp
- Bottom
- 48 dp
- Left
- 0 dp
- Right
- 0 dp
Mandatory System Gestures
- Top
- 42.67 dp
- Bottom
- 48 dp
- Left
- 0 dp
- Right
- 0 dp
Tappable Element
- Top
- 31 dp
- Bottom
- 48 dp
- Left
- 0 dp
- Right
- 0 dp
Test fixture · WindowInsetsCompat
Exact px of this capture for JVM UI tests (Robolectric, Paparazzi, Roborazzi).
Measured On
- One UI
- 5.1.1
- Android
- 13
Galaxy Z Fold2 · Cover · Captured portrait. Rotation changes the view, not the recorded Android insets.
Physical device, closed, portrait; font scale 0.8; density 480 dpi. Captured app window is 960×2658 px (320×886 dp), while wm reports a physical panel of 816×2260. A size reset retained the 960×2658 override; its origin is unverified. These values describe the observed app configuration, not every Fold2. Hinge-angle sensor and rounded corners unavailable.
- measuredInsetsProbe 1.1.1 on physical Galaxy Z Fold2 cover (SM-F916N) · checked 2026-09-22