From ef70aa88e1cbdd1cca2fc75554ef0075d887ecea Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 6 Apr 2020 00:17:14 +0530 Subject: [PATCH] ui: fix scrolling in detail view Signed-off-by: Harsh Shandilya --- .../res/layout/tunnel_detail_fragment.xml | 227 +++++++++--------- 1 file changed, 115 insertions(+), 112 deletions(-) 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"> - + - + - + - + - - - + - - + + + + + + + + + + +