Skip to content

Commit

Permalink
fix: Remove default margins of CheckBox in Project Settings Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
aikrq committed Dec 29, 2024
1 parent 6e5fac4 commit 3af3fce
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions app/src/main/res/layout/dialog_project_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">

<com.google.android.material.bottomsheet.BottomSheetDragHandleView
android:id="@+id/drag_handle"
Expand Down Expand Up @@ -75,6 +74,7 @@
android:id="@+id/enable_viewbinding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
Expand Down Expand Up @@ -109,7 +109,10 @@
<CheckBox
android:id="@+id/cb_enable_viewbinding"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:minWidth="0dp"
android:minHeight="0dp" />

</LinearLayout>

Expand Down Expand Up @@ -151,7 +154,10 @@
<CheckBox
android:id="@+id/cb_remove_old_methods"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:minWidth="0dp"
android:minHeight="0dp" />

</LinearLayout>

Expand Down Expand Up @@ -193,7 +199,10 @@
<CheckBox
android:id="@+id/cb_use_new_material_components_app_theme"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:minWidth="0dp"
android:minHeight="0dp" />

</LinearLayout>

Expand All @@ -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">

<Button
android:id="@+id/cancel"
Expand Down

0 comments on commit 3af3fce

Please sign in to comment.