edge-to-edge

Handle edge-to-edge insets for Android Compose screens on Android 15+.

58|4|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/po4yka/RIPDPI --skill edge-to-edge-po4yka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: edge-to-edge
Source: https://github.com/po4yka/RIPDPI/tree/main/.github/skills/edge-to-edge
Command: npx skills add https://github.com/po4yka/RIPDPI --skill edge-to-edge-po4yka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Solves edge-to-edge insets handling for Android Compose screens.

Core Features & Use Cases

  • Inset-aware Compose layouts that prevent content from clipping by system bars on Android 15+.
  • Centralized guidance for applying edge-to-edge across scaffolds, sheets, and insets sources.
  • Use Case: Ensure top content is visible under the status bar when using immersive modes.

Quick Start

Call installSplashScreen() first, then enableEdgeToEdge(), and finally invoke super.onCreate(...) in your main activity to apply edge-to-edge insets correctly.

Frequently Asked Questions about edge-to-edge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle window insets for edge-to-edge layouts in Android Compose?

Edge-to-edge layouts in Android Compose require proper window insets handling to prevent content from clipping by system bars. This Skill provides inset-aware Compose layouts that respect system bars across Android 15+.

Why does my Compose UI content clip under the status bar after enabling edge-to-edge?

Content clipping under the status bar happens when window insets are not applied correctly to your Compose layouts. You need inset-aware scaffolds and sheets that properly consume window insets sources to keep top content visible.

What is the correct invocation order for installSplashScreen and enableEdgeToEdge in Android?

The correct invocation order is to call installSplashScreen() first, then enableEdgeToEdge(), and finally invoke super.onCreate(...) in your main activity to apply edge-to-edge insets correctly.

Does Android 15 require edge-to-edge enforcement for Compose screens?

Android 15+ enforces edge-to-edge behavior for Compose screens, requiring developers to handle window insets properly. This Skill ensures your layouts respect insets across scaffolds, sheets, and system bars under this enforcement.

Can I use edge-to-edge insets handling with immersive modes in Compose?

Edge-to-edge insets handling works with immersive modes in Compose to ensure top content remains visible under the status bar. The Skill provides centralized guidance for applying insets across various UI components.