2021-02-03 16:04:09 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-05-11 18:54:50 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:orientation="vertical"
|
2019-02-28 23:16:50 +01:00
|
|
|
tools:context=".plugins.treatments.fragments.TreatmentsBolusFragment">
|
2017-05-11 18:54:50 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingBottom="10dp">
|
2017-05-11 18:54:50 +02:00
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-11 18:54:50 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:text="@string/treatments_iobtotal_label_string"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
2017-05-11 18:54:50 +02:00
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/iob_total"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
2017-05-11 18:54:50 +02:00
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2018-09-11 19:29:51 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:text="@string/treatments_iobactivitytotal_label_string"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
2018-06-21 00:08:16 +02:00
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/iob_activity_total"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
2018-06-21 00:08:16 +02:00
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
</LinearLayout>
|
2018-06-21 00:08:16 +02:00
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2017-05-11 18:54:50 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
|
|
|
android:id="@+id/refresh_from_nightscout"
|
2021-02-03 16:04:09 +01:00
|
|
|
style="?android:attr/buttonStyle"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:drawableStart="@drawable/ic_refresh"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:text="@string/nav_refreshtreatments" />
|
2017-05-11 18:54:50 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
2021-02-03 16:04:09 +01:00
|
|
|
android:id="@+id/delete_future_treatments"
|
|
|
|
style="?android:attr/buttonStyle"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="fill_parent"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:drawableStart="@drawable/ic_remove"
|
2021-02-03 16:04:09 +01:00
|
|
|
android:text="@string/deletefuturetreatments" />
|
2017-05-11 18:54:50 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2021-02-03 16:04:09 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerview"
|
|
|
|
android:layout_width="match_parent"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="match_parent" />
|
2021-02-03 16:04:09 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|