You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to show my view, or fragment, whatever, under searchview when i clicked on suggestion item. As i can see Searchview should have height as match_parent and inside layout it has transparent_view with some search_layover_bg background color. Youtube good example of what i want to achieve:
How it can be done with this library?
The text was updated successfully, but these errors were encountered:
As for the 1.1.1 version, I believe it won't be possible, because the MaterialSearchView handles the search history and suggestions automatically.
It might be possible to do what you want if I add an option to "turn it off". Then you could
use the OnQueryTextListener and update your UI accordingly.
I was about to post an issue but I guess it's the same as this one. Is there a way to achieve this in general not only when tapping a suggestion? I want to submit a query and leave the searchview open and with the query in the textview just like gmail and youtube do (as shown in the above screenshot). That it's the way it's supposed to go with this kind of searchview.
I believe that as of version 1.2.2 it's possible to achieve that behavior by leaving the SearchView open and by getting the current query. Could you test it? @rpgdev
@Mauker1 sorry I can't right now. I did away with most of the code relating to 'material' searchviews, I think I tried most of the ones out there at the time. I'll probably try to implement it on one of my apps again in the near future, when I do I'll make sure to come back to this.
I want to show my view, or fragment, whatever, under searchview when i clicked on suggestion item. As i can see Searchview should have height as match_parent and inside layout it has transparent_view with some search_layover_bg background color. Youtube good example of what i want to achieve:
How it can be done with this library?
The text was updated successfully, but these errors were encountered: