Does anyone know how to create a TextField that is...
# compose-android
a
Does anyone know how to create a TextField that is of underline type? See screenshot in 🧵
See Summary text field in the attached screenshot.
s
Like the "filled" version here? https://m3.material.io/components/text-fields/overview Perhaps with the same background color as the background itself
a
At the moment, I'm implementing a filled type text field. However, the one in my screenshot clearly is of different type (unsure if that app has been written in Jetpack Compose).
@Stylianos Gakis ended up implementing the filled one with background color. Works for me. Thanks for your help!
👍 1
z
I don’t believe the one you’re looking for is in the material spec, so i wouldn’t hold my breath waiting for it to appear in the material library.
a
seems very Holo-ish. just for reference if you want to build your own text field from scratch (might be overkill in this case) have a look at
BasicTextField
☝🏻 1