I'm using a SearchView to enter a number from a bluetooth barcode reader.
The SearchView is focused as follows:
svActListaPedidosFragmento.setFocusable(true);
svActListaPedidosFragmento.setIconified(false);
The problem is that when the SearchView is focused, the software keyboard appears and I want to hide it.
The method to hide the keyboard I understand very well
The problem is that I can not find an event that tells me that the keyboard has appeared.
In a previous thread someone told me that I can use the OnClickListener event for SearchView, but I discovered that this event happens BEFORE the keyboard is displayed.
Thanks for any comments or suggestions.