MaterialSearchBar icon indicating copy to clipboard operation
MaterialSearchBar copied to clipboard

Change navIcon drawable or state

Open KoTius opened this issue 5 years ago • 1 comments

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.

KoTius avatar Dec 05 '18 11:12 KoTius

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

voghDev avatar Jul 30 '19 06:07 voghDev