
Description
edge-to-edge-android is an Android skill that migrates a Jetpack Compose app to adaptive edge-to-edge support and helps fix common problems with edge-to-edge layouts. Edge-to-edge means drawing the app behind the system bars, so content can use the full screen, and it needs insets to keep text and controls clear of the status bar, navigation bar and keyboard. The project must use Jetpack Compose and target SDK 35 or later, and the skill raises a lower target to 35. The plan step finds every Activity and checks which already support edge-to-edge, then finds the lists and floating action buttons that need it. Where text fields exist, the skill requires checking that the keyboard does not hide the input. The implementation step adds enableEdgeToEdge before setContent in each Activity's onCreate that does not already call it, and adds the adjustResize soft input mode in the manifest for activities that use a soft keyboard. The final step applies insets to the composables so that content is not covered. The skill is installed with npx skills add https://github.com/android/skills --skill edge-to-edge, and the skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.…
Highlights
- Migrates Compose apps to edge-to-edge
- Finds activities and lists to update
- Keyboard and text field checks
- Applies insets to composables
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate edge-to-edge.
People also visit

migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View

mobile-android-design
Material Design 3 and Jetpack Compose patterns for building modern

compose-focus-navigation
Writing or reviewing Jetpack Compose UI for TV, keyboard, desktop
edge-to-edge FAQ
What does edge-to-edge-android do?
It migrates a Jetpack Compose app to draw behind the system bars and fixes common layout problems.
Which SDK version is needed?
Target SDK 35 or later. The skill raises a lower target to 35.
What code does it add?
enableEdgeToEdge before setContent in each activity, and adjustResize in the manifest for activities with a soft keyboard.
What about text fields?
The skill checks that the keyboard does not hide the input.
How do I install it?
Run npx skills add https://github.com/android/skills --skill edge-to-edge.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best edge-to-edge alternatives?
Popular alternatives to edge-to-edge include adaptive, styles and migrate-xml-views-to-jetpack-compose. See all edge-to-edge alternatives








