Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<activity
android:name=".MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustNothing">
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,12 @@ fun AidenChatDetailScreen(
modifier = Modifier
.fillMaxWidth()
.windowInsetsPadding(WindowInsets.navigationBars)
// MainActivity uses adjustNothing, so this is the one IME owner.
// Insets consumption contributes only the IME delta beyond the
// navigation bar and keeps the whole composer above the keyboard.
// MainActivity is edge-to-edge, so adjustResize only delivers IME
// insets (Android 8-10 need it to report them at all) and never
// resizes the window: this is the one IME owner. The padding follows
// the live insets, so a return from another app with the keyboard
// restored lifts the composer again. Insets consumption contributes
// only the IME delta beyond the navigation bar.
.imePadding()
.aidenReadableWidth()
.zIndex(1f)
Expand Down
Loading