384 lines
15 KiB
XML
384 lines
15 KiB
XML
<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"
|
|
tools:context=".plugins.pump.virtual.VirtualPumpFragment">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/vitualpump_label"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="5dp"
|
|
android:text="@string/basebasalrate_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/basabasalrate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="5dp"
|
|
android:text="@string/tempbasal_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/tempbasal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="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/extendedbolus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="5dp"
|
|
android:text="@string/battery_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/battery"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- Reservoir -->
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="5dp"
|
|
android:text="@string/reservoir_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/reservoir"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- Pump Serial -->
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="5dp"
|
|
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"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- Pump Type -->
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="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/type"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- Pump Definition -->
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="?android:attr/dividerHorizontal" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:focusable="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="end"
|
|
android:paddingEnd="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/type_def"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="start"
|
|
android:paddingStart="5dp"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</FrameLayout>
|