Ink
11/22/2021, 12:30 PMBasicTextField()
Is it possible to center black indicator?Ink
11/22/2021, 12:30 PMBasicTextField(
modifier = Modifier
.fillMaxWidth()
.align(Alignment.Center),
value = value,
onValueChange = { value = it },
singleLine = true
)
nitrog42
11/22/2021, 12:38 PMInk
11/22/2021, 12:46 PMtextAlign
and it works as expected
val style = TextStyle(
color = MaterialTheme.colors.primary,
fontSize = 16.sp,
fontWeight = FontWeight.SemiBold,
textDecoration = TextDecoration.None,
textAlign = TextAlign.Center
)