diff --git a/ui/src/main/res/layout/tunnel_detail_fragment.xml b/ui/src/main/res/layout/tunnel_detail_fragment.xml index 33ecd839..0bb3558c 100644 --- a/ui/src/main/res/layout/tunnel_detail_fragment.xml +++ b/ui/src/main/res/layout/tunnel_detail_fragment.xml @@ -40,10 +40,6 @@ 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"> diff --git a/ui/src/main/res/layout/tunnel_detail_peer.xml b/ui/src/main/res/layout/tunnel_detail_peer.xml index af939d9b..a73716d7 100644 --- a/ui/src/main/res/layout/tunnel_detail_peer.xml +++ b/ui/src/main/res/layout/tunnel_detail_peer.xml @@ -15,11 +15,7 @@ + android:layout_margin="8dp"> + android:layout_marginBottom="16dp"> + android:layout_marginBottom="4dp"> @style/AppTheme.Dialog @style/ThemeOverlay.MaterialComponents.ActionBar @style/TextInputLayoutBase + @style/AppTheme.MaterialCardView diff --git a/ui/src/main/res/values-v27/styles.xml b/ui/src/main/res/values-v27/styles.xml index dcdf974f..03f0da86 100644 --- a/ui/src/main/res/values-v27/styles.xml +++ b/ui/src/main/res/values-v27/styles.xml @@ -25,5 +25,6 @@ @style/AppTheme.Dialog @style/ThemeOverlay.MaterialComponents.ActionBar @style/TextInputLayoutBase + @style/AppTheme.MaterialCardView diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml index bfde4366..067c10b3 100644 --- a/ui/src/main/res/values/styles.xml +++ b/ui/src/main/res/values/styles.xml @@ -21,6 +21,14 @@ @style/AppTheme.Dialog @style/ThemeOverlay.MaterialComponents.ActionBar @style/TextInputLayoutBase + @style/AppTheme.MaterialCardView + + +