I use BasicTextField
from package androidx.compose.foundation.text
and it has a default grey field color as visible here:
I do not want this grey highlight, therefore I want to set the backgroundColor completely to black:
BasicTextField(
modifier = Modifier
.background(Color.Black)
)
But this does take effect only partially as visible here
There is a border still having grey color.
It is ok to keep the border dimensions, but I would like to have a complete black background as here
How can I manage this?
Edit: I tried to add a border()
modifier with color = Color.Black
- in vain.