How to change font family of label in Xamarin.Forms
问题 I tried to change font-family of my label using CSS and XAML but the font is not reflecting. I am trying to use Montserrat font in my app. How can I fix this? XAML Code: <Label StyleClass="label" Text="Sample"/> CSS code: .label{ font-family: Montserrat; } 回答1: In order to use custom fonts in your project, you have to do the following: In your Android Project, place your font file in your Assets folder, and ensure the build type is AndroidAsset. Then you can, in your XAML, declare the font in