Forum Xamarin.Forms

Reference custom font in style.xml ?

guizmoguizmo Member ✭✭

Hello,

I am trying to reference custom font located in my Assets folder, from my style.xml to change the font family of my shell tab bottom bar titles. I tried to follow the instructions in this doc : https://docs.microsoft.com/fr-fr/xamarin/android/app-fundamentals/resources-in-android/fonts

But it doesn't work, and I tried different way to do that, but same problem. Could you tell me how it work to reference custom font in style.xml ?


Answers

  • jezhjezh Member, Xamarin Team Xamurai

    If it is convenient for you ,could you please post a basic demo so that we can help you better?

  • guizmoguizmo Member ✭✭

    Ty,

    I want to change the font family of the title located in the bottom tab navbar, like this :

    I didn't found anything to do that with a shell custom renderer then this is why I just tried to change the font family in my style.xml located in the android section.

Sign In or Register to comment.