Use Ubuntu font throughout the app

This commit is contained in:
William Brawner 2021-01-27 16:15:58 -07:00
parent ed734651f9
commit 4964fe17a8
10 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:font="@font/ubuntu_light"
app:fontStyle="normal"
app:fontWeight="300" />
<font
app:font="@font/ubuntu_lightitalic"
app:fontStyle="italic"
app:fontWeight="300" />
<font
app:font="@font/ubuntu_regular"
app:fontStyle="normal"
app:fontWeight="400" />
<font
app:font="@font/ubuntu_italic"
app:fontStyle="italic"
app:fontWeight="400" />
<font
app:font="@font/ubuntu_medium"
app:fontStyle="normal"
app:fontWeight="500" />
<font
app:font="@font/ubuntu_mediumitalic"
app:fontStyle="italic"
app:fontWeight="500" />
<font
app:font="@font/ubuntu_bold"
app:fontStyle="normal"
app:fontWeight="700" />
<font
app:font="@font/ubuntu_bolditalic"
app:fontStyle="italic"
app:fontWeight="700" />
</font-family>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -6,6 +6,7 @@
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="fontFamily">@font/ubuntu</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:statusBarColor">?android:attr/windowBackground</item>
<item name="android:windowBackground">@color/colorBackgroundPrimary</item>
@ -52,5 +53,5 @@
<item name="android:layout_width">match_parent</item>
</style>
<style name="AppTheme.EditText.Hint" parent="TextAppearance.Design.Hint"></style>
<style name="AppTheme.EditText.Hint" parent="TextAppearance.Design.Hint" />
</resources>