2019-01-04 14:02:10 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2019-03-02 21:39:14 +01:00
|
|
|
tools:context=".plugins.pump.medtronic.dialog.MedtronicHistoryActivity">
|
2019-01-04 14:02:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/medtronic_historytop"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:text="Type:"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/medtronic_historytype"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="20dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/pillborder"
|
|
|
|
android:gravity="center_horizontal"
|
2019-02-07 23:41:05 +01:00
|
|
|
android:text="@string/medtronic_pump_history" />
|
2019-01-04 14:02:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/medtronic_historystatus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/medtronic_historytop"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:gravity="center_horizontal" />
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/medtronic_history_recyclerview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_below="@+id/medtronic_historystatus" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|