edge-to-edge
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
Skill by Google LLC
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/3fn-edge-to-edge
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/edge-to-edge
What's inside
- Skill name
edge-to-edge- Description
- Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility.
- License
- Apache-2.0
- Metadata
- author: Google LLC · last-updated: 2026-04-01
- Instructions
- 409 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Prerequisites
- Project **MUST** use Android Jetpack Compose.
- Project **MUST** target SDK 35 or later. If the SDK is lower than 35, increase the SDK to 35.
## Step 1: plan
1. Locate and analyze all Activity classes to detect which have existing edge-to-edge support. For every Activity without edge-to-edge, plan to make each Activity edge-to-edge.
2. In each Activity, Locate and analyze all lists and FAB components to detect which have existing edge-to-edge support. For every component without edge-to-edge support, plan to make each of these components edge-to-edge.
3. In each Activity, scan for `TextField`, `OutlinedTextField`, or `BasicTextField`. If found, then you **MUST** verify the IME doesn't hide the input field by following the IME section of this skill.
## Step 2: add edge-to-edge support
1. Add `enableEdgeToEdge` before `setContent` in `onCreate` in each Activity that does not already call `enableEdgeToEdge`.
2. Add `android:windowSoftInputMode="adjustResize"` in the AndroidManifest.xml for all Activities that use a soft keyboard.
## Step 3: apply insets
- The app **MUST** apply system insets, or align content to rulers, so critical
UI remains tappable. Choose only one method to avoid double padding:
1. **PREFERRED:** When available, use `Scaffold`s and pass `PaddingValues` to the content lambda.
```kotlin
Scaffold { innerPadding ->
// innerPadding accounts for system bars and any Scaffold components
LazyColumn(
modifier = Modifier
.fillMaxSize()
.consumeWindowInsets(innerPadding),
contentPadding = innerPadding
) { /* Content */ }
}
```
<br />
1. **PREFERRED:** When available, use the automatic inset handling or padding modifiers in material components.
- Material 3 Components manages safe areas for its own components, including:
- `TopAppBar`
- `SmallTopAppBar`
- `CenterAlignedTopAppBar`
- `MediumTopAppBar`
- `LargeTopAppBar`
- `BottomAppBar`
- `ModalDrawerSheet`
- `DismissibleDrawerSheet`
- `PermanentDrawerSheet`
- `ModalBottomSheet`
- `NavigationBar`
- `NavigationRail`
- For Material 2 Components, use the `windowInsets`parameter to apply insets manually for `BottomAppBar`, `TopAppBar` and `BottomNavigation`. **DO NOT** apply padding to the parent container; instead, pass insets directly to the App Bar component. Applying padding to the parent container prevents the App Bar background from drawing into the system bar area. For example, for `TopAppBar`, choose only one of the following options:
1. **PREFERRED:** `TopAppBar(windowInsets = AppBarDefaults.topAppBarWindowInsets)`
2. `TopAppBar(windowInsets = WindowInsets.systemBars.exclude(WindowInsets.navigationBars))`
3. `TopAppBar(windowInsets = WindowInsets.systemBars.add(WindowInsets.captionBar))`
2. For components outside a Scaffold, use padding modifiers, such as `Modifier.safeDrawingPadding()` or `Modifier.windowInsetsPadding(WindowInsets.safeDrawing)`.
```kotlin
Box(
modifier = Modifier
.fillMaxSize()
.safeDrawingPadding()
) {
Button(
onClick = {},
modifier = Modifier.align(Alignment.BottomCenter)
) {
Text("Login")
}
}
```
<br />
3. For deeply nested components with excessive padding, use `WindowInsetsRulers` (e.g. `Modifier.fitInside(WindowInsetsRulers.SafeDrawing.current)`). See the *IME* section for a code sample.
4. When you need an element (e.g. a custom header or decorative scrim) to
equal the dimensions of a system bar, use inset size modifiers (e.g.
`Modifier.windowInsetsTopHeight(WindowInsets.systemBars)`).
See the *Lists* section for a code sample.
## Adaptive Scaffolds
- `NavigationSuiteScaffold` manages safe areas for its own components, like the `NavigationRail` or `NavigationBar`. However, the adaptive scaffolds (e.g. `NavigationSuiteScaffold`, `ListDetailPaneScaffold`) don't propagate PaddingValues to their inner contents. You **MUST** apply insets to **individual** screens or components (e.g., list `contentPadding` or FAB padding) as described in *Step 3* . **DO NOT** apply `safeDrawingPadding` or similar modifiers to the `NavigationSuiteScaffold` parent. This clips and prevents an edge-to-edge screen.
## IME
- For each Activity with a soft keyboard, check that `android:windowSoftInputMode="adjustResize"` is set in the AndroidManifest.xml. DO NOT use `SOFT_INPUT_ADJUST_RESIZE` because it is deprecated. Then, maintain focus on the input field. Choose one:
- 1. **PREFERRED:** Add `Modifier.fitInside(WindowInsetsRulers.Ime.current)` to the content container. This is preferred over `imePadding()` because it reduces jank and extra padding caused by forgetting to consume insets upstream in the hierarchy.
- 2. Add `imePadding` to the content container. The padding modifier **MUST** be placed before `Modifier.verticalScroll()`. Do NOT use `Modifier.imePadding()` if the parent already accounts for the IME with `contentWindowInsets` (e.g. `contentWindowInsets =
WindowInsets.safeDrawing`). Doing so will cause double padding.
### IMEs with Scaffolds code patterns
#### RIGHT
RIGHT because `contentWindowInsets` contains IME insets, which are passed to the
content lambda as `innerPadding`.
```kotlin
// RIGHT
Scaffold(contentWindowInsets = WindowInsets.safeDrawing) { innerPadding ->
Column(
modifier = Modifier
.padding(innerPadding)
.consumeWindowInsets(innerPadding)
.verticalScroll(rememberScrollState())
) { /* Content */ }
}
```
<br />
*** ** * ** ***From 3fn/DesignerPunk, Apache-2.0.
More from 3fn/DesignerPunk
- 0.647score
impeccable-dp
3fn
Design creation and critique skill adapted for DesignerPunk.
SkillAFreshness: A★ 28Claude Code +9 - 0.647score
adaptive
Google LLC
Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto and…
SkillAFreshness: A★ 28Claude Code +9 - 0.647score
navigation-3
Google LLC
Learn how to install and migrate to Jetpack Navigation 3, and how to implement features and patterns such as deep links, multiple backstacks, scenes (dialogs…
SkillAFreshness: A★ 28Claude Code +9 - 0.647score
theming-styles
Google LLC
Use this skill to integrate the Jetpack Compose Styles API into an Android project.
SkillAFreshness: A★ 28Claude Code +9 - 0.637score
_fixture-skill
3fn
Internal DesignerPunk pipeline fixture (Spec 122 C10.3).
SkillAFreshness: A★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Jul 10, 2026 (3 months ago)
- Last release
- Oct 17, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/3fn/DesignerPunk
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.385score
edge-to-edge
Google LLC
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
SkillAFreshness: A★ 28Claude Code +9 - 0.385score
edge-to-edge
Google LLC
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
SkillAFreshness: A★ 28Claude Code +9 - 0.385score
edge-to-edge
Google LLC
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
SkillAFreshness: A★ 28Claude Code +9 - 0.385score
edge-to-edge
Google LLC
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
SkillAFreshness: A★ 28Claude Code +9 - 0.358score
edge-to-edge
Google LLC
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
SkillAFreshness: A★ 3Claude Code +9
More from Google LLC
- 0.861score
secops-cases
Google LLCOfficial
Manage Google Security Operations (SecOps) SOAR cases throughout their lifecycle.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-triage
Google LLCOfficial
Expert guidance for security alert triage in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-investigate
Google LLCOfficial
Expert guidance for deep security incident and entity investigations in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-hunt
Google LLCOfficial
Expert guidance for proactive threat hunting in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-detection-engineering
Google LLCOfficial
Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.815score
ima-sdk-client-side
Google LLCOfficial
Supports Interactive Media Ads (IMA) SDK.
SkillBFreshness: B★ 21.5KClaude Code +9
Cite this page
edge-to-edge skill. Agent Mart. https://agentmart.dev/skills/3fn-edge-to-edge (last updated 2026-10-24)