2016-11-11 00:54:10 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-03-23 22:09:09 +01:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-11-11 16:18:10 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-23 22:09:09 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:text="@string/primefill"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textColor="@color/colorInsulinButton" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:src="@drawable/icon_cp_pump_canula" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/careportal_newnstreatment_insulin_layout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/catheter_change"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:text="Pump site change" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cartridge_change"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:text="Insulin cartridge change" />
|
|
|
|
|
|
|
|
<info.nightscout.utils.NumberPicker
|
|
|
|
android:id="@+id/treatments_newtreatment_insulinamount"
|
|
|
|
android:layout_width="130dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginLeft="30dp"
|
|
|
|
android:layout_marginRight="30dp"
|
|
|
|
android:layout_marginTop="10dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="5dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/fill_preset_button1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="0.3U" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/fill_preset_button2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="0.7U" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/fill_preset_button3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="1.2U" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-11-11 16:18:10 +01:00
|
|
|
|
2018-03-23 22:09:09 +01:00
|
|
|
<include layout="@layout/mdtp_done_button" />
|
2016-11-11 16:18:10 +01:00
|
|
|
|
2018-03-23 22:09:09 +01:00
|
|
|
</LinearLayout>
|
2016-11-11 16:18:10 +01:00
|
|
|
|
2016-11-11 00:54:10 +01:00
|
|
|
|
2018-03-23 22:09:09 +01:00
|
|
|
</ScrollView>
|