Centered Icons

@ Philoul: Thanks for the suggestion!
This commit is contained in:
swissalpine 2022-02-19 00:56:31 +01:00 committed by GitHub
parent 0acda9454d
commit a2c6db4b57
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_height="wrap_content"
android:layout_gravity="center|center_vertical"
android:layout_marginTop="5dp"
android:layout_marginTop="10dp"
android:background="@android:color/transparent"
android:orientation="horizontal"
android:padding="0dp">
@ -254,9 +254,8 @@
android:id="@+id/bg_checkbox_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:scaleX="1.4"
android:scaleY="1.4"
android:button="@drawable/checkbox_bg_icon"
@ -267,9 +266,8 @@
android:id="@+id/trend_checkbox_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:scaleX="1.4"
android:scaleY="1.4"
android:button="@drawable/checkbox_trend_icon"
@ -280,9 +278,8 @@
android:id="@+id/iob_checkbox_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:scaleX="1.4"
android:scaleY="1.4"
android:button="@drawable/checkbox_iob_icon"
@ -293,16 +290,14 @@
android:id="@+id/cob_checkbox_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="0dp"
android:paddingEnd="0dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:scaleX="1.6"
android:scaleY="1.6"
android:button="@drawable/checkbox_cob_icon"
android:checked="true"
android:contentDescription="@string/treatments_wizard_cob_label" />
</LinearLayout>
<LinearLayout