Android: how do I get SearchView close button to return the setQueryHint()?

后端 未结 1 882
南旧
南旧 2020-12-07 05:22

I have a Search icon in my toolbar that searches a RecyclerView list.

Pic 1:

When the icon is clicked, the toolbar shows the SearchView\'s setQueryH

相关标签:
1条回答
  • 2020-12-07 05:54

    Try using mSearchView.setIconified(false).

    0 讨论(0)
提交回复
热议问题