Skip to content

Commit

Permalink
Add font
Browse files Browse the repository at this point in the history
  • Loading branch information
Arezoo Nazer committed Sep 17, 2021
1 parent 1b2af16 commit bd203c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Binary file added app/src/main/res/font/_iransans_regular.ttf
Binary file not shown.
8 changes: 8 additions & 0 deletions app/src/main/res/font/regular.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:font="@font/_iransans_regular"
app:fontStyle="normal"
app:fontWeight="400" />

</font-family>
1 change: 1 addition & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.FlipTimerView" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<item name="android:fontFamily">@font/regular</item>
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
Expand Down

0 comments on commit bd203c4

Please sign in to comment.