Skip to content

Instantly share code, notes, and snippets.

@sathyapriya31
Created November 2, 2017 13:41
Show Gist options
  • Save sathyapriya31/c2fce53509f7ba93f47ffa67efffd762 to your computer and use it in GitHub Desktop.
Save sathyapriya31/c2fce53509f7ba93f47ffa67efffd762 to your computer and use it in GitHub Desktop.
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