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"
|
|
|
|
tools:context=".plugins.VirtualPump.VirtualPumpFragment">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-15 21:06:39 +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"
|
|
|
|
android:layout_gravity="center"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:text="@string/vitualpump_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:orientation="horizontal">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginRight="15dp"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:singleLine="true"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:text="@string/virtualpump_basebasalrate_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/colorPumpLabel"
|
|
|
|
android:textStyle="bold" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
2016-07-15 21:06:39 +02:00
|
|
|
android:id="@+id/virtualpump_basabasalrate"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-07-15 21:06:39 +02:00
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:orientation="horizontal">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginRight="15dp"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:singleLine="true"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:text="@string/virtualpump_tempbasal_label"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/colorPumpLabel"
|
|
|
|
android:textStyle="bold" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
2016-07-15 21:06:39 +02:00
|
|
|
android:id="@+id/virtualpump_tempbasal"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:orientation="horizontal">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginRight="15dp"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/virtualpump_extendedbolus_label"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/colorPumpLabel"
|
|
|
|
android:textStyle="bold" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_extendedbolus"
|
|
|
|
android:layout_width="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-07-15 21:06:39 +02:00
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:orientation="horizontal">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginRight="15dp"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/virtualpump_battery_label"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/colorPumpLabel"
|
|
|
|
android:textStyle="bold" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_battery"
|
|
|
|
android:layout_width="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-07-15 21:06:39 +02:00
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:orientation="horizontal">
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_marginRight="15dp"
|
2016-06-11 20:45:40 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/virtualpump_reservoir_label"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/colorPumpLabel"
|
|
|
|
android:textStyle="bold" />
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/virtualpump_reservoir"
|
|
|
|
android:layout_width="wrap_content"
|
2016-07-15 21:06:39 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="right"
|
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
2016-06-11 20:45:40 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|