aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-12-27 06:44:16 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-12-27 06:44:16 +0000
commitaefc82803624a13861449ef089f1fe9f9b595be8 (patch)
treec833b70bb6b8d80f6e02d88501d363bdf754c54c /app/src/main/res
parent5bf1d342f6f30699f02a985cc8b16b6da90d4688 (diff)
downloadinfinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.tar
infinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.tar.gz
infinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.tar.bz2
infinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.tar.lz
infinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.tar.xz
infinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.tar.zst
infinity-for-reddit-aefc82803624a13861449ef089f1fe9f9b595be8.zip
Change Markdown text style. Reduce the sensitivity of sliding right to go back from ViewPostDetailActivity to prevent go back when sliding tables.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/adapter_default_entry.xml13
-rw-r--r--app/src/main/res/layout/item_post_detail.xml1
2 files changed, 4 insertions, 10 deletions
diff --git a/app/src/main/res/layout/adapter_default_entry.xml b/app/src/main/res/layout/adapter_default_entry.xml
index e9fb8929..bf91ef23 100644
--- a/app/src/main/res/layout/adapter_default_entry.xml
+++ b/app/src/main/res/layout/adapter_default_entry.xml
@@ -1,15 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dip"
- android:layout_marginRight="16dip"
- android:lineSpacingExtra="2dip"
- android:paddingTop="8dip"
- android:paddingBottom="8dip"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="#000"
- android:textSize="16sp"
- tools:text="Hello" /> \ No newline at end of file
+ android:layout_marginLeft="16dp"
+ android:layout_marginRight="16dp"
+ android:textSize="?attr/content_font_default" /> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml
index 41fa34da..2bf46902 100644
--- a/app/src/main/res/layout/item_post_detail.xml
+++ b/app/src/main/res/layout/item_post_detail.xml
@@ -85,6 +85,7 @@
android:id="@+id/content_markdown_view_item_post_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_marginTop="16dp"
android:visibility="gone" />
<com.nex3z.flowlayout.FlowLayout