Changed app font to OpenSans

This commit is contained in:
Severiano Jaramillo 2017-12-18 19:25:25 -06:00
parent f3a4f61cec
commit 812489c4ce
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<font-family xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<font android:fontStyle="normal" android:fontWeight="400" android:font="@font/OpenSans_Regular"
app:fontStyle="normal" app:fontWeight="400" app:font="@font/OpenSans_Regular"/>
<font android:fontStyle="italic" android:fontWeight="400" android:font="@font/OpenSans_Italic"
app:fontStyle="italic" app:fontWeight="400" app:font="@font/OpenSans_Italic" />
<font android:fontStyle="normal" android:fontWeight="400" android:font="@font/opensans_regular"
app:fontStyle="normal" app:fontWeight="400" app:font="@font/opensans_regular"/>
<font android:fontStyle="italic" android:fontWeight="400" android:font="@font/opensans_italic"
app:fontStyle="italic" app:fontWeight="400" app:font="@font/opensans_italic" />
</font-family>

View file

@ -30,6 +30,8 @@
<item name="android:homeAsUpIndicator">@drawable/back_button_image</item>
<item name="android:dialogTheme">@style/CustomDialog</item>
<item name="android:colorButtonNormal">@color/white</item>
<item name="android:fontFamily">@font/opensans</item>
<item name="fontFamily">@font/opensans</item> <!-- target android sdk versions < 26 and > 14 if theme other than AppCompat -->
</style>
<style name="AppTheme.NoActionBar" parent="AppTheme">