We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to change menu icon in floatsearchview, for example:
floatingSearchView.setOnMenuItemClickListener(new FloatingSearchView.OnMenuItemClickListener() { @Override public void onActionMenuItemSelected(MenuItem item) { if(item.getItemId() == R.id.action_location) { if(locationEnabled) { item.setIcon(R.drawable.ic_action_location_disabled); locationEnabled = false; Log.d(this.getClass().getName(), "location disabled"); } else { item.setIcon(R.drawable.ic_action_location); locationEnabled = true; Log.d(this.getClass().getName(), "location enabled"); } } } });
Icon not changing. I can't find any methods like invalidate(), or something like this.
The text was updated successfully, but these errors were encountered:
Any solution ?
Sorry, something went wrong.
i also need this
Any solution? Any hell?
me to, so I change style to tab for replaced menu
No branches or pull requests
I want to change menu icon in floatsearchview, for example:
Icon not changing. I can't find any methods like invalidate(), or something like this.
The text was updated successfully, but these errors were encountered: