Use Ubuntu font throughout the app
This commit is contained in:
parent
ed734651f9
commit
4964fe17a8
10 changed files with 37 additions and 1 deletions
35
android/src/main/res/font/ubuntu.xml
Normal file
35
android/src/main/res/font/ubuntu.xml
Normal 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>
|
BIN
android/src/main/res/font/ubuntu_bold.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_bold.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_bolditalic.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_bolditalic.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_italic.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_italic.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_light.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_light.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_lightitalic.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_lightitalic.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_medium.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_medium.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_mediumitalic.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_mediumitalic.ttf
Normal file
Binary file not shown.
BIN
android/src/main/res/font/ubuntu_regular.ttf
Normal file
BIN
android/src/main/res/font/ubuntu_regular.ttf
Normal file
Binary file not shown.
|
@ -6,6 +6,7 @@
|
||||||
<item name="colorPrimary">@color/colorPrimary</item>
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
|
<item name="fontFamily">@font/ubuntu</item>
|
||||||
<item name="android:windowLightStatusBar">true</item>
|
<item name="android:windowLightStatusBar">true</item>
|
||||||
<item name="android:statusBarColor">?android:attr/windowBackground</item>
|
<item name="android:statusBarColor">?android:attr/windowBackground</item>
|
||||||
<item name="android:windowBackground">@color/colorBackgroundPrimary</item>
|
<item name="android:windowBackground">@color/colorBackgroundPrimary</item>
|
||||||
|
@ -52,5 +53,5 @@
|
||||||
<item name="android:layout_width">match_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="AppTheme.EditText.Hint" parent="TextAppearance.Design.Hint"></style>
|
<style name="AppTheme.EditText.Hint" parent="TextAppearance.Design.Hint" />
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue