edge-to-edge

Migrate Jetpack Compose apps to adaptive edge-to-edge layouts with inset handling.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/yash-garg/pi-config --skill edge-to-edge-yash-garg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: edge-to-edge
Source: https://github.com/yash-garg/pi-config/tree/main/skills/edge-to-edge
Command: npx skills add https://github.com/yash-garg/pi-config --skill edge-to-edge-yash-garg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Android developers migrate Jetpack Compose applications to edge-to-edge layouts while preventing system bar overlap, hidden controls, and keyboard inset issues.

Core Features & Use Cases

  • Edge-to-Edge Migration: Guides Activity updates with enableEdgeToEdge and proper system window handling for modern Android targets.
  • Inset Management: Applies correct Scaffold padding, window inset modifiers, IME handling, and component-specific safe area strategies.
  • Use Case: Help a Compose app targeting SDK 35 ensure lists, floating action buttons, text fields, dialogs, and system bars render correctly across devices.

Quick Start

Use the edge-to-edge skill to analyze my Jetpack Compose app and update its screens for proper system bar and keyboard inset support.

Frequently Asked Questions about edge-to-edge

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

FAQPage Schema
How do I migrate a Jetpack Compose app to edge-to-edge layouts without system bar overlap?

To migrate Jetpack Compose apps to edge-to-edge layouts, enable the edge-to-edge API on Activities and apply proper window inset modifiers to Scaffold layouts to prevent system bar overlap.

What is the best way to handle keyboard insets and IME interactions in Compose edge-to-edge mode?

Handling keyboard insets in edge-to-edge mode requires correct IME padding modifiers and keyboard resize configuration to ensure text fields and floating action buttons adjust properly without being hidden.

Why does my Compose Scaffold padding cause hidden controls after enabling edge-to-edge?

Hidden controls after enabling edge-to-edge usually occur when Scaffold padding does not correctly consume window insets, requiring proper system window inset management to restore visibility.

How do I ensure floating action buttons and dialogs render correctly with edge-to-edge system bars?

To ensure floating action buttons and dialogs render correctly with edge-to-edge system bars, apply component-specific safe area strategies and window inset modifiers to manage system bar accessibility.

Can I use edge-to-edge window insets for SDK 35 Compose apps with existing Activity setups?

Yes, you can apply edge-to-edge window insets to SDK 35 Compose apps by updating existing Activity setups with enableEdgeToEdge and proper system window handling for modern Android targets.

Does edge-to-edge migration work for lists and text fields in Jetpack Compose?

Edge-to-edge migration works for lists and text fields in Jetpack Compose by applying correct window inset modifiers and IME handling to ensure proper rendering across devices.