573288ec79
currentWindowMetrics requires API 30 — crashes on Android 9. Split into 3 tiers: - API 35+: heightPixels (reliable, edge-to-edge mandatory) - API 30-34: currentWindowMetrics (includes nav bar) - API <30: getRealSize (full display, pre-WindowMetrics) Also set elevation=0 on bottom sheet FrameLayout to remove Material shadow visible at the corners. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>