diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml
index 8a3c62412..b27216929 100644
--- a/src/main/res/layout/activity_contact_details.xml
+++ b/src/main/res/layout/activity_contact_details.xml
@@ -137,26 +137,22 @@
+ android:orientation="vertical"
+ android:padding="@dimen/card_padding_regular">
+ android:layout_margin="-2dp"
+ android:orientation="horizontal" />
+ android:layout_marginTop="16dp"
+ android:orientation="horizontal">
diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml
index d08320659..cce6b2c8c 100644
--- a/src/main/res/layout/activity_muc_details.xml
+++ b/src/main/res/layout/activity_muc_details.xml
@@ -219,15 +219,13 @@
+ android:orientation="vertical"
+ android:padding="@dimen/card_padding_regular">
@@ -236,18 +234,14 @@
android:id="@+id/users"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginStart="-2dp"
- android:layout_marginEnd="-2dp"
- android:orientation="horizontal"
- android:paddingStart="@dimen/card_padding_regular"
- android:paddingTop="@dimen/card_padding_regular"
- android:paddingEnd="@dimen/card_padding_regular"
- android:paddingBottom="@dimen/card_padding_list" />
+ android:layout_margin="-2dp"
+ android:orientation="horizontal" />
@@ -373,25 +361,21 @@
+ android:orientation="vertical"
+ android:padding="@dimen/card_padding_regular">
+ android:layout_margin="-2dp"
+ android:orientation="horizontal" />