2016-06-07 21:48:17 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-07-16 22:37:10 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-12-20 18:55:54 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-06-07 21:48:17 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-07-06 11:11:12 +02:00
|
|
|
android:focusableInTouchMode="true"
|
2016-06-28 11:19:27 +02:00
|
|
|
android:minWidth="300dp"
|
2016-07-06 11:11:12 +02:00
|
|
|
android:orientation="vertical"
|
2019-12-20 18:55:54 +01:00
|
|
|
tools:context=".dialogs.InsulinDialog">
|
2016-06-07 21:48:17 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-06 11:11:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2016-07-16 22:37:10 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-12-20 18:55:54 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-16 22:37:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_gravity="center"
|
2019-12-21 15:26:41 +01:00
|
|
|
android:background="@color/dialog_title_background"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:padding="5dp">
|
2016-07-16 22:37:10 +02:00
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<ImageView
|
2019-12-20 18:55:54 +01:00
|
|
|
android:layout_width="wrap_content"
|
2019-10-25 00:14:55 +02:00
|
|
|
android:layout_height="match_parent"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:contentDescription="@string/boluswizard"
|
|
|
|
android:src="@drawable/icon_calculator" />
|
2016-07-16 22:37:10 +02:00
|
|
|
|
|
|
|
<TextView
|
2019-12-20 18:55:54 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-07-16 22:37:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:layout_centerInParent="true"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
2019-10-25 00:14:55 +02:00
|
|
|
android:text="@string/boluswizard"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-07-16 22:37:10 +02:00
|
|
|
|
2019-12-20 18:55:54 +01:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/spacer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:padding="5dp" />
|
2016-07-16 22:37:10 +02:00
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<TableLayout
|
2019-12-20 18:55:54 +01:00
|
|
|
android:paddingEnd="5dp"
|
2016-07-16 22:37:10 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/treatments_wizard_bg_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.androidaps.utils.NumberPicker
|
2019-10-24 11:34:22 +02:00
|
|
|
android:id="@+id/treatments_wizard_bg_input"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_bgunits"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:gravity="start"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:text="@string/mgdl"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/treatments_wizard_carbs_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.androidaps.utils.NumberPicker
|
2019-10-24 11:34:22 +02:00
|
|
|
android:id="@+id/treatments_wizard_carbs_input"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:gravity="start"
|
|
|
|
android:padding="5dp"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:text="@string/shortgramm"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/treatments_wizard_correction_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.androidaps.utils.NumberPicker
|
2019-10-24 11:34:22 +02:00
|
|
|
android:id="@+id/treatments_wizard_correction_input"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:gravity="start"
|
|
|
|
android:padding="5dp"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:text="@string/insulin_unit_shortname"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/careportal_newnstreatment_carbtime_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.androidaps.utils.NumberPicker
|
2019-10-24 11:34:22 +02:00
|
|
|
android:id="@+id/treatments_wizard_carb_time_input"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:gravity="start"
|
|
|
|
android:padding="5dp"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:text="@string/unit_minute_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
</TableLayout>
|
|
|
|
|
2019-12-20 18:55:54 +01:00
|
|
|
<LinearLayout
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-06-07 21:48:17 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2016-07-16 22:37:10 +02:00
|
|
|
android:orientation="horizontal">
|
2016-06-28 11:19:27 +02:00
|
|
|
|
2016-07-16 22:37:10 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/careportal_newnstreatment_profile_label"
|
2017-06-27 23:16:23 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
2016-06-07 21:48:17 +02:00
|
|
|
|
2016-07-16 22:37:10 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/treatments_wizard_profile"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="0dp"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-22 11:08:57 +02:00
|
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_weight="0.5" />
|
|
|
|
|
2016-06-07 21:48:17 +02:00
|
|
|
|
2017-04-14 14:50:18 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_sbcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_marginStart="10dp"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:padding="5dp"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:checked="false"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:text="@string/superbolus" />
|
2017-04-14 14:50:18 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-06-27 23:16:23 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-27 23:16:23 +02:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:orientation="horizontal">
|
2017-04-14 14:50:18 +02:00
|
|
|
|
2017-06-27 23:16:23 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_total"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-27 23:16:23 +02:00
|
|
|
android:background="@drawable/background_darkgray"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:text="2.35U 28g"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-07 21:48:17 +02:00
|
|
|
|
2019-08-23 16:31:30 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_percent_used"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:background="@drawable/background_darkgray"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:text="50%"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textColor="@color/iob" />
|
|
|
|
|
2016-07-16 22:37:10 +02:00
|
|
|
</LinearLayout>
|
2016-06-07 21:48:17 +02:00
|
|
|
|
2018-04-09 22:10:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/treatments_wizard_notes_layout"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-04-09 22:10:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:labelFor="@+id/treatment_wizard_notes"
|
2018-04-09 22:10:08 +02:00
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/careportal_newnstreatment_notes_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<EditText
|
2018-04-15 19:29:23 +02:00
|
|
|
android:id="@+id/treatment_wizard_notes"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_width="0dp"
|
2018-04-09 22:10:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:autofillHints="@string/careportal_newnstreatment_notes_label"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:gravity="start"
|
2018-04-15 19:29:23 +02:00
|
|
|
android:inputType="text|textCapSentences"
|
2018-04-09 22:10:08 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-07-16 22:37:10 +02:00
|
|
|
<LinearLayout
|
2019-10-10 23:02:35 +02:00
|
|
|
android:id="@+id/done_background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="56dp"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:background="@android:color/transparent"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:padding="5dp">
|
2017-04-14 14:50:18 +02:00
|
|
|
|
|
|
|
<CheckBox
|
2019-10-10 23:02:35 +02:00
|
|
|
android:id="@+id/treatments_wizard_calculationcheckbox"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:checked="false" />
|
2016-07-16 22:37:10 +02:00
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<ImageView
|
2016-07-16 22:37:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:contentDescription="@string/show_calculation"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:src="@drawable/ic_visibility" />
|
2017-04-14 14:50:18 +02:00
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel"
|
|
|
|
style="@style/mdtp_ActionButton.Text"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:layout_width="0dp"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/mdtp_cancel"
|
|
|
|
android:textAlignment="textEnd" />
|
2017-04-14 14:50:18 +02:00
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/ok"
|
2019-12-20 18:55:54 +01:00
|
|
|
style="@style/mdtp_ActionButton.Text"
|
2017-04-14 14:50:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-10 23:02:35 +02:00
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:text="@string/mdtp_ok" />
|
2017-04-14 14:50:18 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/treatments_wizard_delimiter"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginTop="-15dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
2016-07-16 22:37:10 +02:00
|
|
|
|
2019-10-10 23:02:35 +02:00
|
|
|
<TableLayout
|
|
|
|
android:id="@+id/treatments_wizard_resulttable"
|
|
|
|
android:layout_width="match_parent"
|
2019-12-20 18:55:54 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="5dp">
|
2019-10-10 23:02:35 +02:00
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_bgcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp"
|
|
|
|
android:checked="true" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="24dp"
|
|
|
|
android:text="@string/treatments_wizard_bg_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_ttcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp"
|
|
|
|
android:checked="false" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="30dp"
|
|
|
|
android:text="@string/treatments_wizard_tt_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_bg"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="94dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_bginsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_bgtrendcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp"
|
|
|
|
android:checked="false" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="86dp"
|
|
|
|
android:text="@string/treatments_wizard_bgtrend_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_bgtrend"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="94dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_bgtrendinsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_cobcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp"
|
|
|
|
android:checked="false" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="86dp"
|
|
|
|
android:text="@string/treatments_wizard_cob_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_cob"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="94dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_cobinsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_bolusiobcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp"
|
|
|
|
android:checked="true" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="130dp"
|
|
|
|
android:text="@string/treatments_wizard_bolusiob_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="50dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_bolusiobinsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/treatments_wizard_basaliobcheckbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp"
|
|
|
|
android:checked="true" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="130dp"
|
|
|
|
android:text="@string/treatments_wizard_basaliob_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="50dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_basaliobinsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="86dp"
|
|
|
|
android:text="@string/treatments_wizard_carbs_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_carbs"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="94dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_carbsinsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="86dp"
|
|
|
|
android:text="@string/superbolus"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_sb"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="94dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_sbinsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="32dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="86dp"
|
|
|
|
android:text="@string/treatments_wizard_correction_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:width="94dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_wizard_correctioninsulin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:width="50dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
2016-07-16 22:37:10 +02:00
|
|
|
|
2016-06-07 21:48:17 +02:00
|
|
|
</LinearLayout>
|
2016-07-16 22:37:10 +02:00
|
|
|
</ScrollView>
|