Nthily
05/07/2024, 6:37 AMProvideWindowInset
API has been removed in androidx.compose.foundation
ðŸ˜, Is there any other way to achieve the same effect? 👀Ben Trengrove [G]
05/07/2024, 7:37 AMBen Trengrove [G]
05/07/2024, 7:37 AMNthily
05/07/2024, 7:39 AMBen Trengrove [G]
05/07/2024, 7:40 AMBen Trengrove [G]
05/07/2024, 7:41 AMNthily
05/07/2024, 7:41 AMNthily
05/07/2024, 7:43 AMBen Trengrove [G]
05/07/2024, 7:48 AMColumn {
LazyColumn()
InputField(Modifier.imePadding())
}
Nthily
05/07/2024, 7:49 AMBen Trengrove [G]
05/07/2024, 7:49 AMBen Trengrove [G]
05/07/2024, 7:50 AMBen Trengrove [G]
05/07/2024, 7:51 AMNthily
05/07/2024, 8:15 AM@Composable
fun test() {
Column(Modifier.fillMaxSize()) {
LazyColumn(
modifier = Modifier.weight(1f)
) {
items(120) {
Text(
text = "index $it",
modifier = Modifier.fillMaxWidth().background(Color.Gray).padding(12.dp)
)
}
}
BasicTextField(
state = rememberTextFieldState(),
decorator = {
Box(
modifier = Modifier
.height(56.dp)
.fillMaxWidth()
.background(Color.Cyan)
) {
it()
}
},
modifier = Modifier
.navigationBarsPadding()
.imePadding()
)
}
}
I have set edgeToEdge() and android:windowSoftInputMode="adjustResize"
compose = 1.7.0-alpha08Nthily
05/07/2024, 9:22 AMNthily
05/07/2024, 9:26 AMreverseLayout = true
, is this the expected behavior? 👀💦shikasd
05/07/2024, 9:29 AMNthily
05/07/2024, 9:40 AMKarthick
05/13/2024, 4:04 AM