aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-17 11:23:44 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-17 11:23:44 +0000
commit0df0482d458d91d3e1dba3b493285299f91fcc32 (patch)
treef1a02c6b2a844dbfd2a17a814d322a81ae7407ee /app/src/main/res/layout
parent513d92677067207f37248015de193fd0228a1428 (diff)
downloadinfinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.tar
infinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.tar.gz
infinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.tar.bz2
infinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.tar.lz
infinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.tar.xz
infinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.tar.zst
infinity-for-reddit-0df0482d458d91d3e1dba3b493285299f91fcc32.zip
Add some padding between markdown paragraghs. Delete Caveat font.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/adapter_default_entry.xml1
-rw-r--r--app/src/main/res/layout/fragment_font_preview.xml12
-rw-r--r--app/src/main/res/layout/item_post_detail_no_preview_link.xml4
-rw-r--r--app/src/main/res/layout/item_post_detail_text.xml4
4 files changed, 5 insertions, 16 deletions
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
@@ -96,18 +96,6 @@
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"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
- android:paddingStart="72dp"
- android:paddingEnd="16dp"
android:text="Bad Script"
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/font_default"
diff --git a/app/src/main/res/layout/item_post_detail_no_preview_link.xml b/app/src/main/res/layout/item_post_detail_no_preview_link.xml
index e7640de2..7b1f1eb7 100644
--- a/app/src/main/res/layout/item_post_detail_no_preview_link.xml
+++ b/app/src/main/res/layout/item_post_detail_no_preview_link.xml
@@ -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
diff --git a/app/src/main/res/layout/item_post_detail_text.xml b/app/src/main/res/layout/item_post_detail_text.xml
index 08a4598a..de939064 100644
--- a/app/src/main/res/layout/item_post_detail_text.xml
+++ b/app/src/main/res/layout/item_post_detail_text.xml
@@ -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