diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-15 13:40:26 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-15 13:40:26 +0000 |
commit | 7742a19abdbba56b3794065bf07b5c9271619140 (patch) | |
tree | de09d4d12e48eda88c09ed4cc184078008ef9cf0 /app/src/main/res | |
parent | 2d69170f4f6bd54efc472462d47f10988942bcba (diff) | |
download | infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.tar infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.tar.gz infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.tar.bz2 infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.tar.lz infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.tar.xz infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.tar.zst infinity-for-reddit-7742a19abdbba56b3794065bf07b5c9271619140.zip |
Remove font: Bad Script. Add some bold fonts.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/font/bad_script_regular.ttf | bin | 50768 -> 0 bytes | |||
-rw-r--r-- | app/src/main/res/font/balsamiq_sans_bold_version.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/font/noto_sans_bold_version.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/font/roboto_condensed_bold_version.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_font_preview.xml | 68 | ||||
-rw-r--r-- | app/src/main/res/values/arrays.xml | 22 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 72 |
7 files changed, 182 insertions, 16 deletions
diff --git a/app/src/main/res/font/bad_script_regular.ttf b/app/src/main/res/font/bad_script_regular.ttf Binary files differdeleted file mode 100644 index 7dc02d4a..00000000 --- a/app/src/main/res/font/bad_script_regular.ttf +++ /dev/null diff --git a/app/src/main/res/font/balsamiq_sans_bold_version.xml b/app/src/main/res/font/balsamiq_sans_bold_version.xml new file mode 100644 index 00000000..9e3495d7 --- /dev/null +++ b/app/src/main/res/font/balsamiq_sans_bold_version.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<font-family xmlns:app="http://schemas.android.com/apk/res-auto"> + <font + app:fontStyle="normal" + app:fontWeight="700" + app:font="@font/balsamiq_sans_bold" /> + + <font + app:fontStyle="italic" + app:fontWeight="700" + app:font="@font/balsamiq_sans_bold_italic" /> +</font-family>
\ No newline at end of file diff --git a/app/src/main/res/font/noto_sans_bold_version.xml b/app/src/main/res/font/noto_sans_bold_version.xml new file mode 100644 index 00000000..93b119ba --- /dev/null +++ b/app/src/main/res/font/noto_sans_bold_version.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<font-family xmlns:app="http://schemas.android.com/apk/res-auto"> + <font + app:fontStyle="normal" + app:fontWeight="700" + app:font="@font/noto_sans_bold" /> + + <font + app:fontStyle="italic" + app:fontWeight="700" + app:font="@font/noto_sans_bold_italic" /> +</font-family>
\ No newline at end of file diff --git a/app/src/main/res/font/roboto_condensed_bold_version.xml b/app/src/main/res/font/roboto_condensed_bold_version.xml new file mode 100644 index 00000000..ed3b6d33 --- /dev/null +++ b/app/src/main/res/font/roboto_condensed_bold_version.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<font-family xmlns:app="http://schemas.android.com/apk/res-auto"> + <font + app:fontStyle="normal" + app:fontWeight="700" + app:font="@font/roboto_condensed_bold" /> + + <font + app:fontStyle="italic" + app:fontWeight="700" + app:font="@font/roboto_condensed_bold_italic" /> +</font-family>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_font_preview.xml b/app/src/main/res/layout/fragment_font_preview.xml index 8cc543c8..d1140996 100644 --- a/app/src/main/res/layout/fragment_font_preview.xml +++ b/app/src/main/res/layout/fragment_font_preview.xml @@ -36,6 +36,18 @@ android:paddingBottom="16dp" android:paddingStart="72dp" android:paddingEnd="16dp" + android:text="Balsamiq Sans Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/balsamiq_sans_bold_version" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" android:text="Noto Sans" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" @@ -48,10 +60,10 @@ android:paddingBottom="16dp" android:paddingStart="72dp" android:paddingEnd="16dp" - android:text="Roboto Condensed" + android:text="Noto Sans Bold" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" - android:fontFamily="@font/roboto_condensed" /> + android:fontFamily="@font/noto_sans_bold_version" /> <TextView android:layout_width="match_parent" @@ -72,6 +84,42 @@ android:paddingBottom="16dp" android:paddingStart="72dp" android:paddingEnd="16dp" + android:text="Harmonia Sans Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/harmonia_sans_bold" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Roboto Condensed" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/roboto_condensed" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:text="Roboto Condensed Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/roboto_condensed_bold_version" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" android:text="Inter" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" @@ -84,6 +132,18 @@ android:paddingBottom="16dp" android:paddingStart="72dp" android:paddingEnd="16dp" + android:text="Inter Bold" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="@font/inter_bold" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" android:text="Manrope" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" @@ -96,10 +156,10 @@ android:paddingBottom="16dp" android:paddingStart="72dp" android:paddingEnd="16dp" - android:text="Bad Script" + android:text="Manrope Bold" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" - android:fontFamily="@font/bad_script_regular" /> + android:fontFamily="@font/manrope_bold" /> <TextView android:layout_width="match_parent" diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 2d8cdce0..e3ad548e 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -130,24 +130,34 @@ <string-array name="settings_font_family"> <item>Default</item> <item>Balsamiq Sans</item> + <item>Balsamiq Sans Bold</item> <item>Noto Sans</item> - <item>Roboto Condensed</item> + <item>Noto Sans Bold</item> <item>Harmonia Sans</item> - <item>Inter</item> - <item>Manrope</item> - <item>Bad Script</item> + <item>Harmonia Sans Bold (No Italic)</item> + <item>Roboto Condensed</item> + <item>Roboto Condensed Bold</item> + <item>Inter (No Italic)</item> + <item>Inter Bold (No Italic)</item> + <item>Manrope (No Italic)</item> + <item>Manrope Bold (No Italic)</item> <item>Sriracha</item> </string-array> <string-array name="settings_font_family_values"> <item>Default</item> <item>BalsamiqSans</item> + <item>BalsamiqSansBold</item> <item>NotoSans</item> - <item>RobotoCondensed</item> + <item>NotoSansBold</item> <item>HarmoniaSans</item> + <item>HarmoniaSansBold</item> + <item>RobotoCondensed</item> + <item>RobotoCondensedBold</item> <item>Inter</item> + <item>InterBold</item> <item>Manrope</item> - <item>BadScript</item> + <item>ManropeBold</item> <item>Sriracha</item> </string-array> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ec6ebc0d..0e0d703f 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -257,28 +257,48 @@ <item name="font_family">@font/balsamiq_sans</item> </style> + <style name="FontFamily.BalsamiqSansBold"> + <item name="font_family">@font/balsamiq_sans_bold_version</item> + </style> + <style name="FontFamily.NotoSans"> <item name="font_family">@font/noto_sans</item> </style> + <style name="FontFamily.NotoSansBold"> + <item name="font_family">@font/noto_sans_bold_version</item> + </style> + <style name="FontFamily.RobotoCondensed"> <item name="font_family">@font/roboto_condensed</item> </style> + <style name="FontFamily.RobotoCondensedBold"> + <item name="font_family">@font/roboto_condensed_bold_version</item> + </style> + <style name="FontFamily.HarmoniaSans"> <item name="font_family">@font/harmonia_sans</item> </style> + <style name="FontFamily.HarmoniaSansBold"> + <item name="font_family">@font/harmonia_sans_bold</item> + </style> + <style name="FontFamily.Inter"> <item name="font_family">@font/inter</item> </style> + <style name="FontFamily.InterBold"> + <item name="font_family">@font/inter_bold</item> + </style> + <style name="FontFamily.Manrope"> <item name="font_family">@font/manrope</item> </style> - <style name="FontFamily.BadScript"> - <item name="font_family">@font/bad_script_regular</item> + <style name="FontFamily.ManropeBold"> + <item name="font_family">@font/manrope_bold</item> </style> <style name="FontFamily.Sriracha"> @@ -295,28 +315,48 @@ <item name="title_font_family">@font/balsamiq_sans</item> </style> + <style name="TitleFontFamily.BalsamiqSansBold"> + <item name="title_font_family">@font/balsamiq_sans_bold_version</item> + </style> + <style name="TitleFontFamily.NotoSans"> <item name="title_font_family">@font/noto_sans</item> </style> + <style name="TitleFontFamily.NotoSansBold"> + <item name="title_font_family">@font/noto_sans_bold_version</item> + </style> + <style name="TitleFontFamily.RobotoCondensed"> <item name="title_font_family">@font/roboto_condensed</item> </style> + <style name="TitleFontFamily.RobotoCondensedBold"> + <item name="title_font_family">@font/roboto_condensed_bold_version</item> + </style> + <style name="TitleFontFamily.HarmoniaSans"> <item name="title_font_family">@font/harmonia_sans</item> </style> + <style name="TitleFontFamily.HarmoniaSansBold"> + <item name="title_font_family">@font/harmonia_sans_bold</item> + </style> + <style name="TitleFontFamily.Inter"> <item name="title_font_family">@font/inter</item> </style> + <style name="TitleFontFamily.InterBold"> + <item name="title_font_family">@font/inter_bold</item> + </style> + <style name="TitleFontFamily.Manrope"> <item name="title_font_family">@font/manrope</item> </style> - <style name="TitleFontFamily.BadScript"> - <item name="title_font_family">@font/bad_script_regular</item> + <style name="TitleFontFamily.ManropeBold"> + <item name="title_font_family">@font/manrope_bold</item> </style> <style name="TitleFontFamily.Sriracha"> @@ -333,28 +373,48 @@ <item name="content_font_family">@font/balsamiq_sans</item> </style> + <style name="ContentFontFamily.BalsamiqSansBold"> + <item name="content_font_family">@font/balsamiq_sans_bold_version</item> + </style> + <style name="ContentFontFamily.NotoSans"> <item name="content_font_family">@font/noto_sans</item> </style> + <style name="ContentFontFamily.NotoSansBold"> + <item name="content_font_family">@font/noto_sans_bold_version</item> + </style> + <style name="ContentFontFamily.RobotoCondensed"> <item name="content_font_family">@font/roboto_condensed</item> </style> + <style name="ContentFontFamily.RobotoCondensedBold"> + <item name="content_font_family">@font/roboto_condensed_bold_version</item> + </style> + <style name="ContentFontFamily.HarmoniaSans"> <item name="content_font_family">@font/harmonia_sans</item> </style> + <style name="ContentFontFamily.HarmoniaSansBold"> + <item name="content_font_family">@font/harmonia_sans_bold</item> + </style> + <style name="ContentFontFamily.Inter"> <item name="content_font_family">@font/inter</item> </style> + <style name="ContentFontFamily.InterBold"> + <item name="content_font_family">@font/inter_bold</item> + </style> + <style name="ContentFontFamily.Manrope"> <item name="content_font_family">@font/manrope</item> </style> - <style name="ContentFontFamily.BadScript"> - <item name="content_font_family">@font/bad_script_regular</item> + <style name="ContentFontFamily.ManropeBold"> + <item name="content_font_family">@font/manrope_bold</item> </style> <style name="ContentFontFamily.Sriracha"> |