Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setting a font in xml
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/proxima_nova" />
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/proximanova_bold" />
</font-family>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment