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"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2017-04-29 17:48:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2020-05-11 16:58:59 +02:00
|
|
|
android:text="@string/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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/basabasalrate"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
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"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2017-04-29 17:48:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2020-05-11 16:58:59 +02:00
|
|
|
android:text="@string/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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/tempbasal"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
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"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2017-04-29 17:48:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/extendedbolus"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
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"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2017-04-29 17:48:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2020-05-11 16:58:59 +02:00
|
|
|
android:text="@string/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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/battery"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
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"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2017-04-29 17:48:45 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2017-04-29 17:48:45 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2020-05-11 16:58:59 +02:00
|
|
|
android:text="@string/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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/reservoir"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2017-04-29 17:48:45 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-05-03 00:59:33 +02:00
|
|
|
|
2021-09-20 14:13:56 +02:00
|
|
|
<!-- Pump Serial -->
|
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2021-09-20 14:13:56 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2021-09-20 14:13:56 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2021-09-20 14:13:56 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2021-09-20 14:13:56 +02:00
|
|
|
android:text="@string/serialnumber"
|
|
|
|
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/serial_number"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2021-09-20 14:13:56 +02:00
|
|
|
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"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2018-05-03 00:59:33 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2018-05-03 00:59:33 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2018-05-03 00:59:33 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2018-05-03 00:59:33 +02:00
|
|
|
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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/type"
|
2018-05-03 00:59:33 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2018-05-03 00:59:33 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2021-09-20 14:13:56 +02:00
|
|
|
<!-- Pump Definition -->
|
2018-05-03 00:59:33 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2018-05-03 00:59:33 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal" />
|
2018-05-03 00:59:33 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-31 14:34:19 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:focusable="true">
|
2018-05-03 00:59:33 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingEnd="5dp"
|
2018-05-03 00:59:33 +02:00
|
|
|
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
|
2021-01-26 15:44:14 +01:00
|
|
|
android:id="@+id/type_def"
|
2018-05-03 00:59:33 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:paddingStart="5dp"
|
2018-05-03 00:59:33 +02:00
|
|
|
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>
|