From fb42a6a89db849eb9808ca569e41ce55afbbd3af Mon Sep 17 00:00:00 2001
From: SpiritCroc <dev@spiritcroc.de>
Date: Wed, 2 Dec 2020 10:18:21 +0100
Subject: [PATCH] Pad content also to the right, not only to the left

Fixes:
- messages going directly to the right of the screen in no-bubble layout
- different padding of incoming and outgoing bubbles in dual-bubble
  layout

Change-Id: I7ac3ec72fed6dd925392eda0a96a2beadc8ff496
---
 vector/src/main/res/layout/item_timeline_event_base.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vector/src/main/res/layout/item_timeline_event_base.xml b/vector/src/main/res/layout/item_timeline_event_base.xml
index a3da4f1047..1c34bbd81b 100644
--- a/vector/src/main/res/layout/item_timeline_event_base.xml
+++ b/vector/src/main/res/layout/item_timeline_event_base.xml
@@ -83,8 +83,7 @@
         android:layout_height="wrap_content"
         android:layout_below="@id/messageMemberNameView"
         android:layout_toEndOf="@id/messageStartGuideline"
-        android:layout_marginStart="8dp"
-        android:layout_marginEnd="0dp"
+        android:layout_marginHorizontal="8dp"
         android:clipChildren="false"
         android:clipToPadding="false">