I have two SearchViews in my toolbar, and I would like to turn on the blinking cursor so that I can see which search I'm currently typing. When I start typing in SearchView, the cursor is not available. When I type a few more and then touch the text I typed, a blue pointing figure indicates the location of the clicked text - but the cursor does not appear.
How to turn on the program cursor of a black flashing rectangular line?
Some things I tried:
Maybe something is wrong with the setup of my search? Here is my setupSearchView code:
SearchManager searchManager = (SearchManager)getActivity().getSystemService(Context.SEARCH_SERVICE);
searchView.setSearchableInfo(searchManager.getSearchableInfo(getActivity().getComponentName()));
searchView.setIconified(false);
searchView.setonActionExpanded();
searchView.setQueryHint(hint);
searchView.setFocusable(true);