xamarin/Xamarin.Forms

[Bug] Shell cannot style toolbar items

Open

#5,987 opened on Apr 24, 2019

 (5 comments) (3 reactions) (1 assignee)C# (1,926 forks)batch import
a/shell :shell:e/4 :clock4:help wantedt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

I cannot set the color of ToolbarItem in Shell. I have also tried editing styles.xml and cannot seem to find the right properties to set colors.

Expected Behavior

I can set a Style along with all the other Shell styles for color of the label text or icon in the toolbar (android) with the same styling applied to iOS.

Actual Behavior

Nothing I do changes it. HOWEVER the back button behavior text takes a color for some reason. Luck?

Basic Information

  • Version with issue: 4.0-pre9

Screenshots

In this image you can see the TitleView is offset left which is b/c there are 2 toolbar items white on white to the right. They are clickable.

image

Reproduction Link

https://github.com/davidortinau/Straxa

Contributor guide