Last active
April 25, 2019 08:38
-
-
Save dodikk/1ef6a97b6428a934a3c35c421cbf34c6 to your computer and use it in GitHub Desktop.
Tweak droid toolbar from code - xamarin.droid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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