sindrenm
10/07/2020, 9:52 AMModifier.drawIndicatorLine()
in TextField.kt but it's private. I could go ahead and make a “completely” custom text field using BaseTextField
, I guess, it's just that TextField
already had placeholders, leading/trailing icons and shapes and stuff built-in.Se7eN
10/07/2020, 9:55 AMBaseTextField
matvei
10/07/2020, 10:09 AMsindrenm
10/07/2020, 10:11 AMTextField
and set a shape, leading icon, background and a placeholder. simple smileSe7eN
10/07/2020, 10:12 AMsindrenm
10/07/2020, 10:13 AMBaseTextField
, it's not really a problem to go that route. Just a little more stuff to manage. 😎matvei
10/07/2020, 10:28 AMBaseTextField
route is more sustainable, since when you will add more features, you will hit more walls of material TextField being very opinionated about what goes where and what the animations are, etc.
Anyway, if you think that just possibility of making indicator line transparent will solve your cases -- file a feature request please.Se7eN
10/07/2020, 10:33 AMBaseTextField
in a lot of casessindrenm
10/07/2020, 10:38 AMBaseTextField
. Especially seeing as filled text fields in Material always has a bottom line indicator, so it wouldn't really make sense to make it optional. Thanks! simple smileRobert Menke
10/07/2020, 2:26 PM