From 0df0482d458d91d3e1dba3b493285299f91fcc32 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 17 Jun 2020 19:23:44 +0800 Subject: Add some padding between markdown paragraghs. Delete Caveat font. --- .../infinityforreddit/Font/ContentFontFamily.java | 1 - .../infinityforreddit/Font/FontFamily.java | 1 - .../infinityforreddit/Font/TitleFontFamily.java | 1 - app/src/main/res/font/caveat.xml | 12 ------------ app/src/main/res/font/caveat_bold.ttf | Bin 335416 -> 0 bytes app/src/main/res/font/caveat_regular.ttf | Bin 330800 -> 0 bytes app/src/main/res/layout/adapter_default_entry.xml | 1 + app/src/main/res/layout/fragment_font_preview.xml | 12 ------------ .../res/layout/item_post_detail_no_preview_link.xml | 4 ++-- app/src/main/res/layout/item_post_detail_text.xml | 4 ++-- app/src/main/res/values/arrays.xml | 2 -- app/src/main/res/values/styles.xml | 12 ------------ 12 files changed, 5 insertions(+), 45 deletions(-) delete mode 100644 app/src/main/res/font/caveat.xml delete mode 100644 app/src/main/res/font/caveat_bold.ttf delete mode 100644 app/src/main/res/font/caveat_regular.ttf (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Font/ContentFontFamily.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Font/ContentFontFamily.java index f1659d68..6a00aec9 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Font/ContentFontFamily.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Font/ContentFontFamily.java @@ -10,7 +10,6 @@ public enum ContentFontFamily { HarmoniaSans(R.style.ContentFontFamily_HarmoniaSans, "HarmoniaSans"), Inter(R.style.ContentFontFamily_Inter, "Inter"), Manrope(R.style.ContentFontFamily_Manrope, "Manrope"), - Caveat(R.style.ContentFontFamily_Caveat, "Caveat"), BadScript(R.style.ContentFontFamily_BadScript, "BadScript"), Sriracha(R.style.ContentFontFamily_Sriracha, "Sriracha"); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Font/FontFamily.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Font/FontFamily.java index debd9b73..8a04a50e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Font/FontFamily.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Font/FontFamily.java @@ -10,7 +10,6 @@ public enum FontFamily { HarmoniaSans(R.style.FontFamily_HarmoniaSans, "HarmoniaSans"), Inter(R.style.FontFamily_Inter, "Inter"), Manrope(R.style.FontFamily_Manrope, "Manrope"), - Caveat(R.style.FontFamily_Caveat, "Caveat"), BadScript(R.style.FontFamily_BadScript, "BadScript"), Sriracha(R.style.FontFamily_Sriracha, "Sriracha"); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Font/TitleFontFamily.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Font/TitleFontFamily.java index 0548f4e0..ffe319c4 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Font/TitleFontFamily.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Font/TitleFontFamily.java @@ -10,7 +10,6 @@ public enum TitleFontFamily { HarmoniaSans(R.style.TitleFontFamily_HarmoniaSans, "HarmoniaSans"), Inter(R.style.TitleFontFamily_Inter, "Inter"), Manrope(R.style.TitleFontFamily_Manrope, "Manrope"), - Caveat(R.style.TitleFontFamily_Caveat, "Caveat"), BadScript(R.style.TitleFontFamily_BadScript, "BadScript"), Sriracha(R.style.TitleFontFamily_Sriracha, "Sriracha"); diff --git a/app/src/main/res/font/caveat.xml b/app/src/main/res/font/caveat.xml deleted file mode 100644 index 57393ffd..00000000 --- a/app/src/main/res/font/caveat.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/font/caveat_bold.ttf b/app/src/main/res/font/caveat_bold.ttf deleted file mode 100644 index e7e6a837..00000000 Binary files a/app/src/main/res/font/caveat_bold.ttf and /dev/null differ diff --git a/app/src/main/res/font/caveat_regular.ttf b/app/src/main/res/font/caveat_regular.ttf deleted file mode 100644 index 278a61c8..00000000 Binary files a/app/src/main/res/font/caveat_regular.ttf and /dev/null differ diff --git a/app/src/main/res/layout/adapter_default_entry.xml b/app/src/main/res/layout/adapter_default_entry.xml index c05db9ff..a02d03f0 100644 --- a/app/src/main/res/layout/adapter_default_entry.xml +++ b/app/src/main/res/layout/adapter_default_entry.xml @@ -3,5 +3,6 @@ android:id="@+id/text" android:layout_width="match_parent" android:layout_height="wrap_content" + android:padding="8dp" android:textSize="?attr/content_font_default" android:fontFamily="?attr/content_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 4101473e..8cc543c8 100644 --- a/app/src/main/res/layout/fragment_font_preview.xml +++ b/app/src/main/res/layout/fragment_font_preview.xml @@ -89,18 +89,6 @@ android:textSize="?attr/font_default" android:fontFamily="@font/manrope" /> - - Harmonia Sans Inter Manrope - Caveat Bad Script Sriracha @@ -144,7 +143,6 @@ HarmoniaSans Inter Manrope - Caveat BadScript Sriracha diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 770fc6b9..43df2318 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -262,10 +262,6 @@ @font/manrope - - @@ -304,10 +300,6 @@ @font/manrope - - @@ -346,10 +338,6 @@ @font/manrope - - -- cgit v1.2.3