From baf18a876217a25b73526b8119fea31748a9b18c Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Mon, 6 Jan 2020 16:33:55 +0100 Subject: [PATCH] Fixed cardview resizing itself idiotically in constraint layout --- .../main/res/layout/dialog_magisk_base.xml | 385 +++++++++--------- 1 file changed, 196 insertions(+), 189 deletions(-) diff --git a/app/src/main/res/layout/dialog_magisk_base.xml b/app/src/main/res/layout/dialog_magisk_base.xml index 622bbc781..852e0eb31 100644 --- a/app/src/main/res/layout/dialog_magisk_base.xml +++ b/app/src/main/res/layout/dialog_magisk_base.xml @@ -12,225 +12,232 @@ - - + android:layout_height="wrap_content" + app:cardElevation="@dimen/margin_generic" + app:cardUseCompatPadding="true"> - + - + - - - - - - - - - - - - - - - - - + - - - - - - - - + app:layout_constraintBottom_toTopOf="@+id/dialog_base_title" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + + + + + + + + + + + + + + + + + + + + + + + + + android:gravity="bottom|center_horizontal" + android:layoutDirection="locale" + android:orientation="horizontal" + android:paddingStart="12dp" + android:paddingTop="4dp" + android:paddingEnd="12dp" + android:paddingBottom="4dp"> - + - + - + - + - + - + - + - + + + + +