From 286ab8ebca82a236a5ea40bdf111cda1e87927ec Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 30 Dec 2019 22:46:45 +0800 Subject: Change text color in TableLayout in markdown. Change markdown TextView style. --- app/src/main/res/layout/activity_view_sidebar.xml | 3 +-- app/src/main/res/layout/adapter_default_entry.xml | 2 -- app/src/main/res/layout/adapter_table_block.xml | 3 ++- app/src/main/res/layout/item_post_detail.xml | 2 ++ 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_view_sidebar.xml b/app/src/main/res/layout/activity_view_sidebar.xml index ae9dca32..31ed1529 100644 --- a/app/src/main/res/layout/activity_view_sidebar.xml +++ b/app/src/main/res/layout/activity_view_sidebar.xml @@ -36,8 +36,7 @@ android:id="@+id/markdown_recycler_view_view_sidebar_activity" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="16dp" - android:paddingBottom="16dp" + android:padding="16dp" android:clipToPadding="false" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> diff --git a/app/src/main/res/layout/adapter_default_entry.xml b/app/src/main/res/layout/adapter_default_entry.xml index bf91ef23..acc53340 100644 --- a/app/src/main/res/layout/adapter_default_entry.xml +++ b/app/src/main/res/layout/adapter_default_entry.xml @@ -3,6 +3,4 @@ android:id="@+id/text" android:layout_width="match_parent" android:layout_height="wrap_content" - 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/adapter_table_block.xml b/app/src/main/res/layout/adapter_table_block.xml index 35fc8986..ab8ddfb1 100644 --- a/app/src/main/res/layout/adapter_table_block.xml +++ b/app/src/main/res/layout/adapter_table_block.xml @@ -2,7 +2,8 @@