2016-06-05 14:53:03 +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.Treatments.TreatmentsFragment">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/treatments_iobtotal_label_string"
|
|
|
|
android:id="@+id/treatments_iobtotal_label"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/treatments_iobtotal"
|
|
|
|
android:paddingLeft="10dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_iobactivitytotal_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:text="@string/treatments_iobactivitytotal_label_string"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/treatments_iobactivitytotal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="10dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-06-06 12:17:37 +02:00
|
|
|
<Button
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Refresh treatments from Nightscout"
|
|
|
|
android:id="@+id/treatments_reshreshfromnightscout"
|
2016-06-24 23:20:38 +02:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2016-06-06 12:17:37 +02:00
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
2016-06-05 14:53:03 +02:00
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/treatments_recyclerview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|