Added Circular Std and a toggle to use it

This commit is contained in:
Prathamesh More 2022-01-05 16:02:20 +05:30
parent fd03cb4e99
commit 02b72551c9
13 changed files with 46 additions and 3 deletions

View 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>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -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>

View file

@ -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>

View file

@ -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