NavigationPage.BarTextColor should also change color of back arrow (on Android)

JoshaJosha USMember ✭✭


NavigationPage.BarTextColor should also change color of back arrow. On iOS this is already the behavior however not on Android.

API Changes

No API changes.

Add following code change to Xamarin.Forms.Platform.Android.AppCompat.NavigationPageRenderer (around line 823):

      if (!textColor.IsDefault) {
        var icon = bar.NavigationIcon as DrawerArrowDrawable;
        if (icon != null) {
          icon.Color = textColor.ToAndroid();

Note: I did also post this as bug at bugzilla, but I got a reply to make a post at this forum.


Open · Last Updated


  • ChaseFlorellChaseFlorell CAInsider, University mod

    Maybe the API Change should be

    NavigationPage.BarIconColor = ...;

    So that a use can decide whether they want it to change or not.

  • DanSiegelDanSiegel USUniversity ✭✭

    I agree with @ChaseFlorell, I would much rather it be a separate color. It may be something you want the same color as your text, but then again it may not.

  • hinojosachapelhinojosachapel ESMember ✭✭

    I also agree with @ChaseFlorell and @DanSiegel. This would be a good feature to add. The user / developer should be able to decide whether to use different colors or the same for both elements.

  • basitzia.6430basitzia.6430 USMember ✭✭

    +1 for this.
    I am also looking for same thing. Is there any other way to change the arrow color for now?

  • MatteoPiccioniMatteoPiccioni USMember ✭✭

    Same problem here,

Sign In or Register to comment.