Switch to checkboxes
This commit is contained in:
parent
9d9cda6101
commit
e592632808
1 changed files with 23 additions and 35 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue