Forum Xamarin.Forms

Changing font size of a text in toolbar item

MikilllMikilll Member ✭✭✭
edited June 2018 in Xamarin.Forms

How can I change the font size of a toolbar item? I was searching for a long time over the Internet and Android documentation and still I cannot find that. I think this shouldn't be difficult because i.e. changing the text color of a toolbar item is easy. You just have to add:

<item name="android:actionMenuTextColor">@color/actionbar_text</item>

in styles.xml and that's all.

Best Answer


  • 15mgm1515mgm15 USMember ✭✭✭✭

    This will require a CustomRenderer of a Xamarin.Forms.NavigationPage.

  • MikilllMikilll Member ✭✭✭
    edited June 2018

    Seriously? This cannot be done in styles.xml? Or if the custom renderer is required, can somebody post example implementation?

  • MikilllMikilll Member ✭✭✭

    Unfortunately, they did not provide any clear answer.

Sign In or Register to comment.