Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tweak droid toolbar from code - xamarin.droid
var yellowColor = Color.ParseColor("#f6c046");
// set left icon color
Toolbar.NavigationIcon.SetTint(yellowColor);
// set text color
Toolbar.SetTitleTextColor(yellowColor);
Toolbar.SetSubtitleTextColor(yellowColor);
// set right button color
_rightToolbarImage.SetColorFilter(yellowColor, PorterDuff.Mode.SrcIn);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment