MaterialSearchBar
MaterialSearchBar copied to clipboard
Change navIcon drawable or state
If a screen with MaterialSearchBar is end point and can only navigate Back, i want nav icon to be as Back (arrow) button by default (not hamburger menu)
Is there are way to achieve this?
P.S.: sorry,i guess it's more SO topic.
If you have a look at the code, the nav icon can't be set. There is no setNavIcon
method or app:mt_navIcon
XML attribute. Probably changing it is not an easy task because various animations are applied on it, so the creator decided not to include this feature