Thursday 2 March 2017

Xamarin Forms Monospace Android Font

If you are using Xamarin Forms cross-platform programming, and the Android monospace font refuses to display, then try changing the FontSize property to a valid value, such as 10.

I had initially used a font size of 8 and the font was not being displayed. The default font was being displayed. As soon as I changed the font size to 10, then the monospace font started to display correctly.