Add some padding between markdown paragraghs. Delete Caveat font.

This commit is contained in:
Alex Ning
2020-06-17 19:23:44 +08:00
parent 513d926770
commit 0df0482d45
12 changed files with 5 additions and 45 deletions

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:fontStyle="normal"
app:fontWeight="400"
app:font="@font/caveat_regular" />
<font
app:fontStyle="normal"
app:fontWeight="700"
app:font="@font/caveat_bold" />
</font-family>

View File

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

View File

@@ -89,18 +89,6 @@
android:textSize="?attr/font_default"
android:fontFamily="@font/manrope" />
<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="Caveat"
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
android:fontFamily="@font/caveat" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -109,8 +109,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="16dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:visibility="gone" />
<com.nex3z.flowlayout.FlowLayout

View File

@@ -109,8 +109,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="16dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:visibility="gone" />
<com.nex3z.flowlayout.FlowLayout

View File

@@ -131,7 +131,6 @@
<item>Harmonia Sans</item>
<item>Inter</item>
<item>Manrope</item>
<item>Caveat</item>
<item>Bad Script</item>
<item>Sriracha</item>
</string-array>
@@ -144,7 +143,6 @@
<item>HarmoniaSans</item>
<item>Inter</item>
<item>Manrope</item>
<item>Caveat</item>
<item>BadScript</item>
<item>Sriracha</item>
</string-array>

View File

@@ -262,10 +262,6 @@
<item name="font_family">@font/manrope</item>
</style>
<style name="FontFamily.Caveat">
<item name="font_family">@font/caveat</item>
</style>
<style name="FontFamily.BadScript">
<item name="font_family">@font/bad_script_regular</item>
</style>
@@ -304,10 +300,6 @@
<item name="title_font_family">@font/manrope</item>
</style>
<style name="TitleFontFamily.Caveat">
<item name="title_font_family">@font/caveat</item>
</style>
<style name="TitleFontFamily.BadScript">
<item name="title_font_family">@font/bad_script_regular</item>
</style>
@@ -346,10 +338,6 @@
<item name="content_font_family">@font/manrope</item>
</style>
<style name="ContentFontFamily.Caveat">
<item name="content_font_family">@font/caveat</item>
</style>
<style name="ContentFontFamily.BadScript">
<item name="content_font_family">@font/bad_script_regular</item>
</style>