New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using SearchView in layout together with navigation view #71
Comments
I'll take a look on this. |
Okay thanks, I'll wait for your answer. Thank you in advance. |
Let me see if I got this correctly. You want to be able to tap on the "empty" space bellow the search results and keep the search view open? |
Hello!
|
Ok, so. For the first question, this is the default behavior of the app, and it's defined here: mTintView.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
closeSearch();
}
}); As for version 1.2.0 it's not possible to change this behavior yet. But I'll add this as a feature so it'll be possible to change this behavior to whatever you want it to do. As for the second question, you can change the behavior using this method:
|
You can see an example of that usage on the sample app: https://github.com/Mauker1/MaterialSearchView/blob/master/app/src/main/java/br/com/mauker/materialsearchview/app/MainActivity.java |
I've made possible to disable the default behavior of the tint click, as seem on #84. To do that, you'll just have to call the |
Hello! I have the following problem. When I use your view in the layout with navigation view, then when open the search and I click on item recycler view, search is minimized and lost all of the search results. How should I place your element, so that when you click on the free space on your element search was not closed. I also have another problem. The items in the list suggestions not selected.
My current layout, you can see the following link: http://pastebin.com/3RKEmwY5
Detail problem: http://prntscr.com/dffvu4
The text was updated successfully, but these errors were encountered: