2016-07-07 10:34:20 +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"
|
2018-06-08 19:22:36 +02:00
|
|
|
android:paddingTop="5dp"
|
2019-02-26 20:38:27 +01:00
|
|
|
tools:context=".plugins.pump.danaR.DanaRFragment">
|
2016-07-07 10:34:20 +02:00
|
|
|
|
2016-07-10 15:05:13 +02:00
|
|
|
|
2017-09-18 18:41:45 +02:00
|
|
|
<RelativeLayout
|
2016-07-10 15:05:13 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-09-18 18:41:45 +02:00
|
|
|
android:layout_height="match_parent">
|
2016-07-10 15:05:13 +02:00
|
|
|
|
2017-09-18 18:41:45 +02:00
|
|
|
<ScrollView
|
2016-07-10 15:05:13 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-09-18 18:41:45 +02:00
|
|
|
android:layout_above="@+id/danar_buttons"
|
|
|
|
android:fillViewport="true">
|
2016-07-10 15:05:13 +02:00
|
|
|
|
2017-04-29 18:11:15 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-10 15:05:13 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41:45 +02:00
|
|
|
android:orientation="vertical">
|
2017-04-29 18:11:15 +02:00
|
|
|
|
2017-10-13 13:31:32 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/overview_pumpstatuslayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:paddingTop="2dp"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/overview_pumpstatus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="@string/initializing"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-09-18 18:41:45 +02:00
|
|
|
<LinearLayout
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/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/danar_serialnumber"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/danar_bluetooth_status"
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<com.joanzapata.iconify.widget.IconTextView
|
|
|
|
android:id="@+id/danar_btconnection"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:text="{fa-bluetooth-b}"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="20dp" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-11 14:05:29 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/danar_queue"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="content"
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
2017-09-18 18:41: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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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-09-18 18:41: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" />
|
|
|
|
|
|
|
|
<com.joanzapata.iconify.widget.IconTextView
|
|
|
|
android:id="@+id/danar_battery"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="20dp" />
|
|
|
|
|
|
|
|
|
|
|
|
</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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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_lastconnection_label"
|
2017-09-18 18:41: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/danar_lastconnection"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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_lastbolus_label"
|
2017-09-18 18:41: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/danar_lastbolus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/danar_dailyunits"
|
|
|
|
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/danar_dailyunits"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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_basebasalrate_label"
|
2017-09-18 18:41: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/danar_basabasalrate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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-09-18 18:41: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/danar_tempbasal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/danar_extendedbolus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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-09-18 18:41: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/danar_reservoir"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-05-16 13:10:02 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/danar_iob_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/danar_iob"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-05-16 13:10:02 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/basal_step"
|
|
|
|
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/danar_basalstep"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-05-16 13:10:02 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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/bolus_step"
|
|
|
|
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/danar_bolusstep"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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
|
2017-05-16 13:10:02 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-18 18:41: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_firmware_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/danar_firmware"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
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" />
|
2017-05-16 13:10:02 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-09-18 18:41:45 +02:00
|
|
|
</ScrollView>
|
2017-04-29 18:11:15 +02:00
|
|
|
|
2017-09-18 18:41:45 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/danar_buttons"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:orientation="vertical">
|
2017-04-29 18:11:15 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-07-10 15:05:13 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:orientation="horizontal">
|
2016-07-10 15:05:13 +02:00
|
|
|
|
2017-04-29 18:11:15 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/danar_viewprofile"
|
2017-09-29 08:47:29 +02:00
|
|
|
style="@style/ButtonSmallFontStyle"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-06-06 17:58:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_weight="1"
|
2017-09-29 08:47:29 +02:00
|
|
|
android:drawableTop="@drawable/icon_danarprofile"
|
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:text="@string/danar_viewprofile" />
|
2016-07-11 14:04:57 +02:00
|
|
|
|
|
|
|
|
2017-04-29 18:11:15 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/danar_history"
|
2017-09-29 08:40:11 +02:00
|
|
|
style="@style/ButtonSmallFontStyle"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-06-06 17:58:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:layout_weight="1"
|
2017-10-03 22:33:35 +02:00
|
|
|
android:drawableTop="@drawable/icon_danarhistory"
|
2017-09-29 08:40:11 +02:00
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
2017-04-29 18:11:15 +02:00
|
|
|
android:text="@string/danar_history" />
|
2017-01-28 20:48:32 +01:00
|
|
|
|
2017-10-03 22:33:35 +02:00
|
|
|
<Button
|
2017-09-29 14:06:23 +02:00
|
|
|
android:id="@+id/danar_stats"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="match_parent"
|
2018-06-06 17:58:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2017-10-03 22:33:35 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawableTop="@drawable/icon_danarstats"
|
2017-09-29 14:06:23 +02:00
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="@string/danar_stats" />
|
2018-06-06 17:58:59 +02:00
|
|
|
|
2018-05-31 13:45:26 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/danar_user_options"
|
|
|
|
style="@style/ButtonSmallFontStyle"
|
|
|
|
android:layout_width="match_parent"
|
2018-06-06 17:58:59 +02:00
|
|
|
android:layout_height="match_parent"
|
2018-05-31 13:45:26 +02:00
|
|
|
android:layout_weight="1"
|
2018-06-05 11:19:47 +02:00
|
|
|
android:drawableTop="@drawable/icon_danar_useropt"
|
2018-05-31 13:45:26 +02:00
|
|
|
android:paddingLeft="0dp"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:text="@string/danar_useroptions" />
|
2017-10-03 22:37:53 +02:00
|
|
|
|
2017-04-29 18:11:15 +02:00
|
|
|
</LinearLayout>
|
2016-07-11 14:04:57 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2017-09-18 18:41:45 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-07-10 15:05:13 +02:00
|
|
|
|
2016-07-07 10:34:20 +02:00
|
|
|
</FrameLayout>
|