Background images needs another sizing

Sorry for the renewed PR - but I was not aware that the size ratios of the background images differ from the "normal" images.
This commit is contained in:
swissalpine 2022-02-18 10:39:46 +01:00 committed by GitHub
parent fef8421e79
commit f89b05dbcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,10 +255,10 @@
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_gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="10dp"
android:paddingEnd="5dp" android:paddingEnd="10dp"
android:scaleX="0.7" android:scaleX="1.4"
android:scaleY="0.7" android:scaleY="1.4"
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" />
@ -268,10 +268,10 @@
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_gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="10dp"
android:paddingEnd="5dp" android:paddingEnd="10dp"
android:scaleX="0.7" android:scaleX="1.4"
android:scaleY="0.7" android:scaleY="1.4"
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" />
@ -281,10 +281,10 @@
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_gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="10dp"
android:paddingEnd="5dp" android:paddingEnd="10dp"
android:scaleX="0.9" android:scaleX="1.4"
android:scaleY="0.9" android:scaleY="1.4"
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" />
@ -294,14 +294,15 @@
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_gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="0dp"
android:paddingEnd="5dp" android:paddingEnd="0dp"
android:scaleX="0.7" android:scaleX="1.6"
android:scaleY="0.7" android:scaleY="1.6"
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" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout