From 5621d5e1a81a6c36e3866bc6f1390e3a6cdc52bb Mon Sep 17 00:00:00 2001 From: Andries Smit Date: Fri, 18 Mar 2022 14:32:20 +0100 Subject: [PATCH] fix: padding numberpickers --- .../res/layout/activity_profilehelper.xml | 3 ++ app/src/main/res/layout/dialog_carbs.xml | 32 ++++++++++--------- app/src/main/res/layout/dialog_care.xml | 1 + .../main/res/layout/dialog_extendedbolus.xml | 1 + app/src/main/res/layout/dialog_insulin.xml | 3 +- .../main/res/layout/dialog_profileswitch.xml | 6 ++-- app/src/main/res/layout/dialog_tempbasal.xml | 2 ++ app/src/main/res/layout/dialog_temptarget.xml | 2 +- app/src/main/res/layout/dialog_treatment.xml | 7 ++-- app/src/main/res/layout/dialog_wizard.xml | 2 ++ .../activities/NoSplashAppCompatActivity.kt | 2 -- 11 files changed, 38 insertions(+), 23 deletions(-) diff --git a/app/src/main/res/layout/activity_profilehelper.xml b/app/src/main/res/layout/activity_profilehelper.xml index 09f11c0ff2..1b41867d16 100644 --- a/app/src/main/res/layout/activity_profilehelper.xml +++ b/app/src/main/res/layout/activity_profilehelper.xml @@ -90,6 +90,7 @@ android:id="@+id/age" android:layout_width="130dp" android:layout_height="40dp" + android:layout_marginBottom="2dp" app:customContentDescription="@string/age" /> @@ -112,6 +113,7 @@ android:id="@+id/tdd" android:layout_width="130dp" android:layout_height="40dp" + android:layout_marginBottom="2dp" app:customContentDescription="@string/tdd_total" /> @@ -134,6 +136,7 @@ android:id="@+id/weight" android:layout_width="130dp" android:layout_height="40dp" + android:layout_marginBottom="2dp" app:customContentDescription="@string/weight_label" /> diff --git a/app/src/main/res/layout/dialog_carbs.xml b/app/src/main/res/layout/dialog_carbs.xml index 00028bf5ba..0455f7c3ae 100644 --- a/app/src/main/res/layout/dialog_carbs.xml +++ b/app/src/main/res/layout/dialog_carbs.xml @@ -109,7 +109,7 @@ - + - + @@ -158,6 +159,7 @@ android:layout_width="130dp" android:layout_height="40dp" android:layout_gravity="center_horizontal" + android:layout_marginBottom="2dp" app:customContentDescription="@string/careportal_newnstreatment_duration_label" /> + android:layout_marginBottom="2dp" + app:customContentDescription="@string/time_offset" /> + android:layout_marginBottom="2dp" + app:customContentDescription="@string/careportal_newnstreatment_duration_label" /> + android:layout_marginBottom="2dp" + app:customContentDescription="@string/careportal_newnstreatment_percentage_label" /> + android:padding="5dp" + android:layout_marginBottom="5dp"> + android:text="@string/do_not_bolus_record_only" + tools:visibility="gone"/> @@ -77,6 +79,7 @@ android:id="@+id/insulin" android:layout_width="130dp" android:layout_height="40dp" + android:layout_marginBottom="2dp" app:customContentDescription="@string/overview_insulin_label" />