diff --git a/ui/src/main/res/layout/tunnel_detail_fragment.xml b/ui/src/main/res/layout/tunnel_detail_fragment.xml
index 2da8a252..33ecd839 100644
--- a/ui/src/main/res/layout/tunnel_detail_fragment.xml
+++ b/ui/src/main/res/layout/tunnel_detail_fragment.xml
@@ -22,131 +22,134 @@
type="com.wireguard.config.Config" />
-
-
-
+
+ android:layout_height="wrap_content">
-
+ android:layout_height="wrap_content"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="16dp"
+ android:layout_marginEnd="8dp"
+ android:layout_marginBottom="8dp"
+ app:cardBackgroundColor="?attr/elevationOverlayColor"
+ app:cardCornerRadius="0dp"
+ app:cardElevation="2dp"
+ app:contentPadding="8dp"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
-
-
-
-
-
+ android:layout_height="wrap_content">
-
+
-
+
-
+
-
+
-
-
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+