Added Circular Std and a toggle to use it
This commit is contained in:
parent
fd03cb4e99
commit
02b72551c9
13 changed files with 46 additions and 3 deletions
16
app/src/main/res/font/circular.xml
Normal file
16
app/src/main/res/font/circular.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<font
|
||||
android:font="@font/circular_std_book"
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="400" />
|
||||
<font
|
||||
android:font="@font/circular_std_medium"
|
||||
android:fontStyle="normal"
|
||||
android:fontWeight="600" />
|
||||
|
||||
<font
|
||||
android:font="@font/circular_std_black"
|
||||
android:fontWeight="900" />
|
||||
|
||||
</font-family>
|
BIN
app/src/main/res/font/circular_std_black.otf
Normal file
BIN
app/src/main/res/font/circular_std_black.otf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/circular_std_book.otf
Normal file
BIN
app/src/main/res/font/circular_std_book.otf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/circular_std_medium.otf
Normal file
BIN
app/src/main/res/font/circular_std_medium.otf
Normal file
Binary file not shown.
|
@ -529,4 +529,5 @@
|
|||
<string name="playback_speed">Playback Speed</string>
|
||||
<string name="playback_pitch">Pitch</string>
|
||||
<string name="playback_settings">Playback Settings</string>
|
||||
<string name="pref_title_custom_font">Use Custom font</string>
|
||||
</resources>
|
||||
|
|
|
@ -245,4 +245,9 @@
|
|||
<item name="android:windowFrame">@null</item>
|
||||
<item name="background">@color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="CircularStdFontOverlay" parent="">
|
||||
<item name="android:fontFamily">@font/circular</item>
|
||||
<item name="fontFamily">@font/circular</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
@ -30,6 +30,12 @@
|
|||
android:title="@string/pref_title_md3"
|
||||
app:isPreferenceVisible="@bool/md3_available" />
|
||||
|
||||
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="custom_font"
|
||||
android:layout="@layout/list_item_view_switch_no_title"
|
||||
android:title="@string/pref_title_custom_font" />
|
||||
|
||||
</code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
|
||||
|
||||
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue