theapache64
01/29/2022, 1:13 PMbrandonmcansh
01/29/2022, 5:02 PMtheapache64
01/29/2022, 9:46 PMChris Sinco [G]
01/30/2022, 1:53 AMbrandonmcansh
01/30/2022, 1:54 AMtheapache64
01/30/2022, 7:02 AMval customTextSelectionColors = TextSelectionColors(
handleColor = Color.Transparent, // 👈🏻
backgroundColor = Color.Transparent // 👈🏻
)
CompositionLocalProvider(LocalTextSelectionColors provides customTextSelectionColors) { // 👈🏻
var t1 by remember { mutableStateOf("") }
OutlinedTextField(
value = t1,
onValueChange = { t1 = it },
keyboardOptions = KeyboardOptions.Default.copy(
keyboardType = KeyboardType.Number,
)
)
}
theapache64
01/30/2022, 7:03 AMtheapache64
01/30/2022, 7:06 AMtheapache64
01/30/2022, 7:16 AMandroid:background
from themes.xml
and it worked! 😮
but what if i want to have that value in my themes.xml
?Joseph Hawkes-Cates
01/30/2022, 4:10 PMtheapache64
01/30/2022, 7:05 PMOutlinedTextField
. But anyway, thanks for sharing your findings. It helped 👍Zach Klippenstein (he/him) [MOD]
02/01/2022, 2:22 AM