I want to hide the mic from soft keyboard in my current application.
I have tried these possible solutions for the same.
Disable speech to text button (Micro phone) on soft input keyboard in android programmatically
But this solution is not working at all.
I found one unexpected thing, when add the inputType = “textFilter” then it works for me, I mean the mic is getting hidden.
But If possible then I want to have the exact solution for the problem, because If I adopt the mentioned “textFilter” thing then later times it may break.
I have tried on below O.S. versions
- Pie(API-28), Device - Pixel2XL
- Marshmallow(API-23), Device - MotoE3Power