Merge pull request #1340 from swissalpine/patch-6

Background images needs another sizing
This commit is contained in:
Milos Kozak 2022-02-20 18:27:47 +01:00 committed by GitHub
commit 4429e8197c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center|center_vertical" android:layout_gravity="center|center_vertical"
android:layout_marginTop="0dp" android:layout_marginTop="10dp"
android:background="@android:color/transparent" android:background="@android:color/transparent"
android:orientation="horizontal" android:orientation="horizontal"
android:padding="0dp"> android:padding="0dp">
@ -254,11 +254,10 @@
android:id="@+id/bg_checkbox_icon" android:id="@+id/bg_checkbox_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_marginLeft="15dp"
android:paddingStart="5dp" android:layout_marginRight="15dp"
android:paddingEnd="5dp" android:scaleX="1.4"
android:scaleX="0.7" android:scaleY="1.4"
android:scaleY="0.7"
android:button="@drawable/checkbox_bg_icon" android:button="@drawable/checkbox_bg_icon"
android:checked="true" android:checked="true"
android:contentDescription="@string/treatments_wizard_bg_label" /> android:contentDescription="@string/treatments_wizard_bg_label" />
@ -267,11 +266,10 @@
android:id="@+id/trend_checkbox_icon" android:id="@+id/trend_checkbox_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_marginLeft="15dp"
android:paddingStart="5dp" android:layout_marginRight="15dp"
android:paddingEnd="5dp" android:scaleX="1.4"
android:scaleX="0.7" android:scaleY="1.4"
android:scaleY="0.7"
android:button="@drawable/checkbox_trend_icon" android:button="@drawable/checkbox_trend_icon"
android:checked="true" android:checked="true"
android:contentDescription="@string/bg_trend_label" /> android:contentDescription="@string/bg_trend_label" />
@ -280,11 +278,10 @@
android:id="@+id/iob_checkbox_icon" android:id="@+id/iob_checkbox_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_marginLeft="15dp"
android:paddingStart="5dp" android:layout_marginRight="15dp"
android:paddingEnd="5dp" android:scaleX="1.4"
android:scaleX="0.9" android:scaleY="1.4"
android:scaleY="0.9"
android:button="@drawable/checkbox_iob_icon" android:button="@drawable/checkbox_iob_icon"
android:checked="true" android:checked="true"
android:contentDescription="@string/iob" /> android:contentDescription="@string/iob" />
@ -293,11 +290,10 @@
android:id="@+id/cob_checkbox_icon" android:id="@+id/cob_checkbox_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_marginLeft="15dp"
android:paddingStart="5dp" android:layout_marginRight="15dp"
android:paddingEnd="5dp" android:scaleX="1.6"
android:scaleX="0.7" android:scaleY="1.6"
android:scaleY="0.7"
android:button="@drawable/checkbox_cob_icon" android:button="@drawable/checkbox_cob_icon"
android:checked="true" android:checked="true"
android:contentDescription="@string/treatments_wizard_cob_label" /> android:contentDescription="@string/treatments_wizard_cob_label" />