From 3af3fce6d2ccfe2b0b601dbed38b663e989da4bc Mon Sep 17 00:00:00 2001 From: aikrq <95296093+aikrq@users.noreply.github.com> Date: Sun, 29 Dec 2024 19:21:41 +0700 Subject: [PATCH] fix: Remove default margins of CheckBox in Project Settings Dialog --- .../res/layout/dialog_project_settings.xml | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/dialog_project_settings.xml b/app/src/main/res/layout/dialog_project_settings.xml index 4d7bb9f491..fec527b4c9 100644 --- a/app/src/main/res/layout/dialog_project_settings.xml +++ b/app/src/main/res/layout/dialog_project_settings.xml @@ -3,8 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - android:paddingBottom="16dp"> + android:orientation="vertical"> + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:minWidth="0dp" + android:minHeight="0dp" /> @@ -151,7 +154,10 @@ + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:minWidth="0dp" + android:minHeight="0dp" /> @@ -193,7 +199,10 @@ + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:minWidth="0dp" + android:minHeight="0dp" /> @@ -204,7 +213,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:layout_marginTop="16dp"> + android:layout_marginEnd="24dp" + android:layout_marginStart="24dp" + android:layout_marginVertical="8dp">