I want to hide the microphone in front of the soft keyboard in my current application.
I've tried these possible solutions for the same thing.
Disable the speech-text (micro-phone) key on the keyboard with the soft entry in Android programmatically
However, this solution does not work at all.
I found an unexpected thing when addType = "textFilter" is added, then it works for me, I mean, the microphone is hidden.
But if possible, I would like to have the exact solution to the problem, because if I take over the mentioned "textFilter" thing, it can break down later.
I tried it on below. versions
- Pie (API-28), device – Pixel2XL
- Marshmallow (API-23), Device – MotoE3Power