2016-07-02 23:58:57 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-05-15 21:10:43 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-07-02 23:58:57 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:minWidth="300dp"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
2016-08-11 15:36:59 +02:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-02 23:58:57 +02:00
|
|
|
android:layout_height="wrap_content"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:orientation="vertical">
|
2016-07-02 23:58:57 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/careportal_newnstreatment_eventtype"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:text="Temp target"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2017-05-16 11:47:33 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_bg_layout"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/treatments_wizard_bg_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_bginput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/careportal_newnstreatment_bgunits"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="mg/dl"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/careportal_newnstreatment_bgsource_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-07-02 23:58:57 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:orientation="vertical">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginRight="20dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/careportal_newnstreatment_meter"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-02-14 15:09:22 +01:00
|
|
|
android:checked="false"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_meter" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/careportal_newnstreatment_sensor"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/careportal_newnstreatment_sensor" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/careportal_newnstreatment_other"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/careportal_newnstreatment_other" />
|
|
|
|
</RadioGroup>
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2016-08-11 15:36:59 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2017-05-16 11:47:33 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_carbs_layout"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:text="@string/treatments_wizard_carbs_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_carbsinput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="g"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2017-05-16 11:47:33 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_insulin_layout"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_insulin_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_insulininput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="U"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2017-05-16 11:47:33 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_split_layout"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_split_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_splitinput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="%"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-10-09 21:03:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/careportal_newnstreatment_temptarget_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/reason"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/careportal_newnstreatment_temptarget_reason"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-10-09 21:18:55 +02:00
|
|
|
android:text="@string/nsprofileview_target_label"
|
2017-10-09 21:03:25 +02:00
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_temptarget"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2017-05-16 11:47:33 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_duration_layout"
|
2017-05-15 21:10:43 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-05-16 11:47:33 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_duration_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_durationinput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2016-08-11 15:36:59 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text="min"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2016-08-11 15:36:59 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_percent_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_percent_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_percentinput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="%"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2016-08-11 15:36:59 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_absolute_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_absolute_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_absoluteinput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="U/h"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2016-08-11 15:36:59 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_carbtime_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_carbtime_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_carbtimeinput"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text="min"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<LinearLayout
|
2016-08-11 15:36:59 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_profile_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-07-02 23:58:57 +02:00
|
|
|
|
2016-08-11 15:36:59 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_profile_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2016-08-11 15:36:59 +02:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/careportal_newnstreatment_profile"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_gravity="center_vertical" />
|
2016-07-02 23:58:57 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2016-07-02 23:58:57 +02:00
|
|
|
|
2017-10-11 00:25:44 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/careportal_newnstreatment_reuse_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text=""
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/careportal_newnstreatment_reusebutton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/reuse"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text=" "
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-09-24 10:39:54 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/careportal_newnstreatment_percentage_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/careportal_newnstreatment_percentage_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_percentage"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text="%"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/careportal_newnstreatment_timeshift_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/careportal_newnstreatment_timeshift_label"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/careportal_newnstreatment_timeshift"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="left"
|
|
|
|
android:minWidth="45dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text="h"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-10-09 23:14:46 +02:00
|
|
|
<LinearLayout
|
2016-08-11 15:36:59 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_notes_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_notes_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/careportal_newnstreatment_notes"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:width="180dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-08-11 15:36:59 +02:00
|
|
|
android:id="@+id/careportal_newnstreatment_eventtime_layout"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
<TextView
|
2017-05-16 11:47:33 +02:00
|
|
|
android:layout_width="wrap_content"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:width="120dp"
|
|
|
|
android:padding="10dp"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:text="@string/careportal_newnstreatment_eventtime_label"
|
2017-05-16 11:47:33 +02:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small"
|
|
|
|
android:textStyle="bold" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/careportal_newnstreatment_eventdate"
|
2016-08-11 15:36:59 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-06-29 01:37:58 +02:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="2017/05/05" />
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/careportal_newnstreatment_eventtime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="08:20pm" />
|
2017-05-16 11:47:33 +02:00
|
|
|
|
2017-06-29 01:37:58 +02:00
|
|
|
</LinearLayout>
|
2016-08-11 15:36:59 +02:00
|
|
|
|
2017-05-15 21:10:43 +02:00
|
|
|
<include layout="@layout/mdtp_done_button" />
|
2016-08-11 15:36:59 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2017-05-15 21:10:43 +02:00
|
|
|
|
2016-08-11 15:36:59 +02:00
|
|
|
</ScrollView>
|
2016-07-02 23:58:57 +02:00
|
|
|
|
2016-09-09 06:54:16 +02:00
|
|
|
</LinearLayout>
|