android / android/architecture-samples

Using edgeToEdge breaks windowSoftInputMode

Open
#1,025 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
45.8k
Forks
11.9k
PR merge metrics
No merged PRs in 30d

Description

When using edgeToEdge, the view size is no longer adjusting when the keyboard is visible, resulting in buttons hidden behind the keyboard.

Without edgeToEdge call in the main Activity:

![Image](https://github.com/user-attachments/assets/dae8150f-77a1-477c-bfb7-581ef332c212)

With EdgeToEdge call in the main Activity.

![Image](https://github.com/user-attachments/assets/f031e103-e89f-4988-8d88-d406db7042ad)

Contributor guide

Open the contributing guide

Research direction

Start in the main Activity, reproduce the layout with and without the edgeToEdge call, and inspect how windowSoftInputMode behaves when the keyboard appears. The work is done when the view resizes appropriately and buttons are no longer hidden behind the keyboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.