The double padding occurs because two inset owners are handling the same bottom space when the IME opens: `Scaffold` consumes `WindowInsets.safeDrawing`, and `imePadding()` adds keyboard insets to that same content. The overlapping bottom inset is therefore applied twice. Choose one owner for the content. For example, keep Scaffold's inset handling and pass its `PaddingValues` through, without adding `imePadding()` to that same content: ```kotlin Scaffold( contentWindowInsets = WindowInsets.s...
Scanned 9/5/2026
Install to Claude Code
npx -y skills add HoangNguyen0403/agent-skills-standard --skill android-edge-to-edge --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Android Edge To Edge?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-android-edge-to-edge-fa7fa69b)More formats (shields.io, HTML) on the badges page.
The double padding occurs because two inset owners are handling the same bottom space when the IME opens: `Scaffold` consumes `WindowInsets.safeDrawing`, and `imePadding()` adds keyboard insets to that same content. The overlapping bottom inset is therefore applied twice.
Choose one owner for the content. For example, keep Scaffold's inset handling and pass its `PaddingValues` through, without adding `imePadding()` to that same content:
```kotlin
Scaffold(
contentWindowInsets = WindowInsets.safeDrawing,
) { innerPadding ->
Column(Modifier.padding(innerPadding)) {
// fields and content
}
}
```
Alternatively, make Scaffold stop applying those insets and apply `imePadding()` yourself to the content container, along with any required safe-drawing inset exactly once. Keep `imePadding()` before `verticalScroll()`. Do not combine `contentWindowInsets = WindowInsets.safeDrawing` with `imePadding()` on the same content path.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!