How to set default font family for entire Android App?

Sanjay S Gangwar
Jan 8, 2021

Simplest way is to add the item in default theme of an application.

<item name="colorPrimary">@color/purple_500</item>
<
item name="colorPrimaryVariant">@color/purple_700</item>
<
item name="colorOnPrimary">@color/white</item>
<item name="android:fontFamily">@font/ubuntu</item>

now you are good to go. πŸ˜πŸ‘Œ

--

--

Sanjay S Gangwar
0 Followers

Just an average android developer.