From 8c183c262d517d1f6bb48ad90acf97d944444edb Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Thu, 12 Apr 2018 00:17:56 +0200 Subject: [PATCH] Replace some paddings with margings in the preferences This ensures that each Switch is always fully visible independently of the size of system font. Change-Id: I1e56a9537dbbb124d86ea0da76d48b7b53172e47 --- res/layout/preferences_dialog.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/layout/preferences_dialog.xml b/res/layout/preferences_dialog.xml index 6af60c8b..999d67fb 100644 --- a/res/layout/preferences_dialog.xml +++ b/res/layout/preferences_dialog.xml @@ -3,7 +3,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:paddingBottom="16dp" android:paddingEnd="24dp" android:paddingStart="24dp" android:paddingTop="16dp"> @@ -12,7 +11,7 @@ android:id="@+id/preferences_auto_updates_check" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingBottom="16dp" + android:layout_marginBottom="16dp" android:text="@string/menu_auto_updates_check" android:textSize="16sp" /> @@ -20,7 +19,7 @@ android:id="@+id/preferences_auto_delete_updates" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingBottom="16dp" + android:layout_marginBottom="16dp" android:text="@string/menu_auto_delete_updates" android:textSize="16sp" /> @@ -28,6 +27,7 @@ android:id="@+id/preferences_mobile_data_warning" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginBottom="16dp" android:text="@string/menu_mobile_data_warning" android:textSize="16sp" />