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:
@@ -110,8 +110,7 @@
|
|||||||
<!-- Activity to host composable screens -->
|
<!-- Activity to host composable screens -->
|
||||||
<activity
|
<activity
|
||||||
android:name=".ComposeActivity"
|
android:name=".ComposeActivity"
|
||||||
android:exported="false"
|
android:exported="false" />
|
||||||
android:windowSoftInputMode="adjustPan" />
|
|
||||||
|
|
||||||
<!-- Notification Action (Download Complete) -->
|
<!-- Notification Action (Download Complete) -->
|
||||||
<activity
|
<activity
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import androidx.compose.foundation.layout.Column
|
|||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.fillMaxSize
|
import androidx.compose.foundation.layout.fillMaxSize
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
|
import androidx.compose.foundation.layout.imePadding
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||||
import androidx.compose.foundation.text.KeyboardOptions
|
import androidx.compose.foundation.text.KeyboardOptions
|
||||||
@@ -130,6 +131,7 @@ private fun ScreenContent(
|
|||||||
}
|
}
|
||||||
|
|
||||||
Scaffold(
|
Scaffold(
|
||||||
|
modifier = Modifier.imePadding(),
|
||||||
topBar = {
|
topBar = {
|
||||||
TopAppBarComposable(
|
TopAppBarComposable(
|
||||||
title = topAppBarTitle,
|
title = topAppBarTitle,
|
||||||
|
|||||||
Reference in New Issue
Block a user