voben
11/18/2021, 12:19 AMChris Sinco [G]
11/18/2021, 12:28 AMvoben
11/18/2021, 2:58 AMTobias Suchalla
11/18/2021, 7:39 AMfun main() = singleWindowApplication {
MaterialTheme {
Box(Modifier.fillMaxSize().background(Color.LightGray)) {
Box(Modifier.fillMaxWidth().fillMaxHeight(0.5f)) {
Spacer(Modifier.fillMaxSize().background(Color.Gray))
OutlinedTextField(
value = "Search",
onValueChange = {},
modifier = Modifier
.padding(horizontal = 16.dp)
.fillMaxWidth()
.align(Alignment.BottomCenter)
.offset(y = TextFieldDefaults.MinHeight / 2),
colors = TextFieldDefaults.outlinedTextFieldColors(backgroundColor = Color.White),
shape = RoundedCornerShape(percent = 50),
singleLine = true
)
}
}
}
}
Chris Sinco [G]
11/18/2021, 8:22 PMvoben
11/18/2021, 8:57 PM