fix: fixes wrong margin on Settings Button views

This addresses a visual bug where a button item without an icon appears to be glued to the left side of the screen. This commit addresses that

cc: @sk22
This commit is contained in:
LucasGGamerM 2023-05-27 13:00:54 -03:00
parent 08023a104c
commit 9e6723be41
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="32dp" android:layout_marginEnd="16dp"
android:importantForAccessibility="no" android:importantForAccessibility="no"
android:tint="?android:textColorPrimary" android:tint="?android:textColorPrimary"
tools:src="@drawable/ic_fluent_color_24_regular"/> tools:src="@drawable/ic_fluent_color_24_regular"/>
@ -23,6 +23,7 @@
<RelativeLayout <RelativeLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingVertical="8dp" android:paddingVertical="8dp"
android:layout_weight="1"> android:layout_weight="1">