From d7a90b53970416ae7fe5df34270924fc5191e009 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 6 Jun 2019 16:11:22 +0800 Subject: Fixed dark theme in landscape mode. Display the host of the url when the post is a link. --- app/src/main/res/layout/item_post.xml | 69 ++++++++++++++++------------- app/src/main/res/values-land-v28/styles.xml | 4 +- 2 files changed, 41 insertions(+), 32 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index 6f09b7e7..664a340d 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -5,7 +5,7 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" - android:id="@+id/card_view_view_post_detail" + android:id="@+id/card_view_item_post" app:cardCornerRadius="16dp"> @@ -71,7 +71,7 @@ + + @@ -162,7 +171,7 @@ android:scaleType="fitStart" /> - + \ No newline at end of file -- cgit v1.2.3