[Feature] Added option to switch to Manrope

This commit is contained in:
Prathamesh More 2022-01-06 23:19:26 +05:30
parent 83fca0a829
commit dfa3129239
17 changed files with 56 additions and 6 deletions

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
<font
android:font="@font/manrope_extralight"
android:fontWeight="200" />
<font
android:font="@font/manrope_light"
android:fontWeight="300" />
<font
android:font="@font/manrope_regular"
android:fontWeight="400" />
<font
android:font="@font/manrope_medium"
android:fontWeight="500" />
<font
android:font="@font/manrope_semibold"
android:fontWeight="600" />
<font
android:font="@font/manrope_bold"
android:fontWeight="700" />
<font
android:font="@font/manrope_extrabold"
android:fontWeight="800" />
</font-family>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<resources>
<string name="about_album_label">About %s</string>
<string name="about_settings_summary">Team, social links</string>
@ -290,6 +291,9 @@
<string name="pinterest_page">Pinterest</string>
<string name="pinterest_page_summary">Follow Pinterest page for Retro Music design inspiration</string>
<string name="plain">Plain</string>
<string name="playback_pitch">Pitch</string>
<string name="playback_settings">Playback Settings</string>
<string name="playback_speed">Playback Speed</string>
<string name="playing_notification_description">The playing notification provides actions for play/pause etc.</string>
<string name="playing_notification_name">Playing notification</string>
<string name="playlist_is_empty">Playlist is empty</string>
@ -360,6 +364,7 @@
<string name="pref_title_colored_app">Adaptive color</string>
<string name="pref_title_colored_notification">Colored notification</string>
<string name="pref_title_cross_fade">Crossfade (Beta)</string>
<string name="pref_title_custom_font">Use Custom font</string>
<string name="pref_title_desaturated_color">Desaturated color</string>
<string name="pref_title_expand_now_playing_panel">Show now playing screen</string>
<string name="pref_title_extra_controls">Extra controls</string>
@ -526,7 +531,4 @@
<string name="you_have_to_select_at_least_one_category">You have to select at least one category.</string>
<string name="you_will_be_forwarded_to_the_issue_tracker_website">You will be forwarded to the issue tracker website.</string>
<string name="your_account_data_is_only_used_for_authentication">Your account data is only used for authentication.</string>
<string name="playback_speed">Playback Speed</string>
<string name="playback_pitch">Pitch</string>
<string name="playback_settings">Playback Settings</string>
</resources>

View file

@ -246,4 +246,8 @@
<item name="android:windowFrame">@null</item>
<item name="background">@color/transparent</item>
</style>
<style name="FontThemeOverlay">
<item name="fontFamily">@font/manrope</item>
<item name="android:fontFamily">@font/manrope</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