With the version below: "Scaffold" was introduced which allows "enableEdgeToEdge()". With these additions to the current 'solution' code, the preview looks correct, but the emulated display (and on USB Debug Device) acts as if there's more padding. Image attached, if that works here.
Android Studio Meerkat | 2024.3.1 Patch 2
Build #AI-243.24978.46.2431.13363775, built on April 15, 2025
Runtime version: 21.0.6+-13355223-b631.42 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 24
Registry:
ide.experimental.ui=true
Left is the Preview, right is the emulated view.
