I use a Material Spinner in a fragment and I want to request focus for it programmatically. The weird thing is, that it already worked several days ago. I checked my old version, where it is also not working any more. So maybe it is some Android update issue. The library was not changed in the meantime.
For requesting the focus i use these lines of code
inputHardness.setFocusable(true);
inputHardness.setFocusableInTouchMode( true );
inputHardness.requestFocus();
Please help me, I am quite stuck.