I have trouble with reducing the height of the OutlinedTextField
in compose. I am trying to do a SearchBar inside the TopAppBar
like it is done in many google apps(Gmail,Play Store). I am unable to achieve this in material3.
I tried copying the OutlinedTextField
and making my own custom view but it is too much stuff that I would have to copy, so I think there should be a better way.
Edit: The TextFiled should also have a leadingIcon