From 89a9a296ab7ab90c95c6643f930c613ca5270478 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Thu, 6 Jun 2019 01:08:59 +0200 Subject: [PATCH] tweak layout of message marker to not collide with different background --- res/layout/conversation_item_last_seen.xml | 31 +++++++++++----------- res/values/attrs.xml | 2 -- res/values/themes.xml | 4 --- 3 files changed, 15 insertions(+), 22 deletions(-) diff --git a/res/layout/conversation_item_last_seen.xml b/res/layout/conversation_item_last_seen.xml index e36d452d7..4cdb448c0 100644 --- a/res/layout/conversation_item_last_seen.xml +++ b/res/layout/conversation_item_last_seen.xml @@ -4,27 +4,26 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" + android:gravity="center" android:orientation="vertical" - android:paddingTop="24dp" - android:paddingBottom="20dp"> - - + android:paddingTop="13dp" + android:paddingBottom="13dp" + android:paddingLeft="28dp" + android:paddingRight="28dp"> - \ No newline at end of file + diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 4205915ce..6fe5e18c9 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -78,8 +78,6 @@ - - diff --git a/res/values/themes.xml b/res/values/themes.xml index ea60aad1a..c4d9a636c 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -163,8 +163,6 @@ @color/universal_overlay @color/white - @color/core_light_90 - @color/core_light_60 @color/core_light_45 @color/core_light_90 @drawable/sticky_date_header_background_light @@ -267,8 +265,6 @@ @color/core_light_35 @drawable/conversation_item_sent_indicator_text_shape_dark - @color/core_dark_30 - @color/core_dark_30 @color/core_dark_55 @color/core_dark_05 @drawable/sticky_date_header_background_dark