Switch to checkboxes

This commit is contained in:
swissalpine 2022-02-17 15:12:46 +01:00 committed by GitHub
parent 9d9cda6101
commit e592632808
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,49 +250,37 @@
android:orientation="horizontal" android:orientation="horizontal"
android:padding="0dp"> android:padding="0dp">
<ImageView <CheckBox
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="fill_parent"
android:layout_gravity="center_vertical" android:button="@drawable/checkbox_bg_icon"
android:paddingStart="5dp" android:checked="true"
android:paddingEnd="5dp" android:contentDescription="@string/treatments_wizard_bg_label" />
android:scaleX="0.7"
android:scaleY="0.7"
app:srcCompat="@drawable/ic_xdrip" />
<ImageView <CheckBox
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="fill_parent"
android:layout_gravity="center_vertical" android:button="@drawable/checkbox_trend_icon"
android:paddingStart="5dp" android:checked="true"
android:paddingEnd="5dp" android:contentDescription="@string/bg_trend_label" />
android:scaleX="0.7"
android:scaleY="0.7"
app:srcCompat="@drawable/ic_fortyfiveup" />
<ImageView <CheckBox
android:id="@+id/cob_checkbox_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingStart="5dp"
android:paddingEnd="5dp"
android:scaleX="0.9"
android:scaleY="0.9"
app:srcCompat="@drawable/ic_cp_bolus_carbs" />
<ImageView
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="fill_parent"
android:layout_gravity="center_vertical" android:button="@drawable/checkbox_iob_icon"
android:paddingStart="5dp" android:checked="true"
android:paddingEnd="5dp" android:contentDescription="@string/iob" />
android:scaleX="0.7"
android:scaleY="0.7" <CheckBox
app:srcCompat="@drawable/ic_bolus" /> android:id="@+id/cob_checkbox_icon"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:button="@drawable/checkbox_cob_icon"
android:checked="true"
android:contentDescription="@string/treatments_wizard_cob_label" />
</LinearLayout> </LinearLayout>