From aefc82803624a13861449ef089f1fe9f9b595be8 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 27 Dec 2019 14:44:16 +0800 Subject: Change Markdown text style. Reduce the sensitivity of sliding right to go back from ViewPostDetailActivity to prevent go back when sliding tables. --- app/src/main/res/layout/adapter_default_entry.xml | 13 +++---------- app/src/main/res/layout/item_post_detail.xml | 1 + 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'app/src/main/res') 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 @@ \ 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" />