2016-06-11 20:45:40 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-02-26 20:38:27 +01:00
|
|
|
tools:context=".plugins.pump.virtual.VirtualPumpFragment">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
2017-04-29 17:48:45 +02:00
|
|
|
<ScrollView
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_height="match_parent">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:text="@string/vitualpump_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
2017-04-29 17:48:45 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
2018-01-11 17:58:31 +01:00
|
|
|
android:text="@string/pump_basebasalrate_label"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_basabasalrate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
2018-01-11 17:58:31 +01:00
|
|
|
android:text="@string/pump_tempbasal_label"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_tempbasal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:text="@string/virtualpump_extendedbolus_label"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_extendedbolus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
2018-01-11 17:58:31 +01:00
|
|
|
android:text="@string/pump_battery_label"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_battery"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-05-03 00:59:33 +02:00
|
|
|
<!-- Reservoir -->
|
2017-04-29 17:48:45 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
2018-01-11 17:58:31 +01:00
|
|
|
android:text="@string/pump_reservoir_label"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_reservoir"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-05-03 00:59:33 +02:00
|
|
|
|
|
|
|
<!-- Pump Type -->
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:text="@string/virtualpump_type"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_type"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- Pump Type -->
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:text="@string/virtualpump_definition"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="5dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:paddingStart="2dp"
|
|
|
|
android:text=":"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_type_def"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
</LinearLayout>
|
2017-04-29 17:48:45 +02:00
|
|
|
</ScrollView>
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
</FrameLayout>
|