compose: details: Handle imePadding properly during manual download

AndroidManifest values doesn't works for compose

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-09-11 15:03:46 +08:00
parent f46fde8596
commit 07f7c3cccf
2 changed files with 3 additions and 2 deletions

View File

@@ -110,8 +110,7 @@
<!-- Activity to host composable screens -->
<activity
android:name=".ComposeActivity"
android:exported="false"
android:windowSoftInputMode="adjustPan" />
android:exported="false" />
<!-- Notification Action (Download Complete) -->
<activity

View File

@@ -10,6 +10,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.imePadding
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.KeyboardOptions
@@ -130,6 +131,7 @@ private fun ScreenContent(
}
Scaffold(
modifier = Modifier.imePadding(),
topBar = {
TopAppBarComposable(
title = topAppBarTitle,