windowinsets.info

Galaxy Z Fold8 Window Insets

Metrics

MarkdownJSON

Dimensions

Logical Size
475.43 × 751.24 dp
Resolution
1248 × 1972 px
Aspect Ratio
7:11
sw600dp
No
Physical Density
pending
Android Density
420 dpi
Scale
2.63×
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: 1248 × 1972 px ÷ 2.625 (420 dpi) = 475.43 × 751.24 dp
  • Inner: 2448 × 1848 px ÷ 2.625 (420 dpi) = 932.57 × 704 dp

Safe Area Insets

Top
41.9 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
26.67 × 39.62 dp
Left
224.38 dp
Top
0 dp
Right
224.38 dp
Bottom
711.62 dp

Android-reported exclusion rectangle. Camera lenses may share one region; individual lens diameters and spacing are not measured.Cutout measurement limits →

Corner Radii · Portrait

Top Left
9.9 dp
Top Right
9.9 dp
Bottom Right
9.9 dp
Bottom Left
9.9 dp
Use in development Preview spec, size class, AVD, adb

Compose Preview

Kotlin
// Galaxy Z Fold8 · cover · 3-button · ROTATION_0 (captured 2026-09-22)
@Preview(device = "spec:width=1248px,height=1972px,dpi=420,cutout=punch_hole,navigation=buttons")
@Composable
fun ZFold8CoverPreview() {
    // 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
475.43 × 751.24 dp
Width / Height
Compact / Medium
  • Cover · ROTATION_0Compact / Medium
    475.43 × 751.24 dp
  • Cover · ROTATION_90Medium / Compact
    751.24 × 475.43 dp
  • Cover · ROTATION_270Medium / Compact
    751.24 × 475.43 dp
  • Main · ROTATION_0Expanded / Medium
    932.57 × 704 dpFLAT · VERTICAL · x=466.29dp · hinge sensor 180°
  • Main · ROTATION_90Medium / Expanded
    704 × 932.57 dpHALF_OPENED · HORIZONTAL · separating · y=466.29dp · hinge sensor 180°
  • Main · ROTATION_270Medium / Expanded
    704 × 932.57 dpHALF_OPENED · HORIZONTAL · separating · y=466.29dp · hinge sensor 180°

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. FoldingFeature states are shown as WindowManager reported them in each capture.

Emulator

The official screen diagonal is not sourced yet, so no hardware profile is offered.

Shell
# Galaxy Z Fold8 · cover · 3-button · ROTATION_0 (captured 2026-09-22)
adb shell wm size 1248x1972
adb shell wm density 420
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 1

Runs 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
Reservable on RTL ↗

A live Samsung RTL reservation was opened successfully. Measurement coverage is shown separately for each screen and navigation mode.

Checked 2026-09-25 · Measured selection

System Bars · 3-button

Top
41.9 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

Display Cutout Insets

Top
39.62 dp
Bottom
0 dp
Left
0 dp
Right
0 dp

Status Bars

Top
41.9 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
51.81 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

Mandatory System Gestures

Top
51.81 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

Tappable Element

Top
41.9 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
9.0
Android
17

Galaxy Z Fold8 · Cover · Captured portrait. Rotation changes the view, not the recorded Android insets.

Samsung RTL, physically folded, portrait. Active window 1248×1972 px. RTL's hinge sensor reported 180° with no folding feature while closed, so display identity is verified from the active window and official cover layout rather than the angle reading.

How these values are measured →
0°

Scroll or drag to pan · Pinch to zoom · + / − to zoom · 0 to fit · ? for shortcuts

Keyboard shortcuts

Switch navigation mode
n
Rotate clockwise
r
Rotate counterclockwise
R
Switch outer / inner display
s
Switch dp / px
u
Show frame
f
Show regions
g
Show dimensions
d
Search devices (Enter opens the first match)
⌘K / Ctrl K, /
Zoom in / out
+ / −
Fit to canvas
0
Show this help
?

They never fire while typing. Turn them off if they conflict with a screen reader or speech input.