AndroidAPS/app/src/main/res/layout/treatments_bolus_fragment.xml

80 lines
2.9 KiB
XML
Raw Normal View History

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"
android:textAppearance="?android:attr/textAppearanceSmall" />
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"
android:textStyle="bold" />
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"
android:textAppearance="?android:attr/textAppearanceSmall" />
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"
android:textStyle="bold" />
2021-02-03 16:04:09 +01:00
</LinearLayout>
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 16:04:09 +01:00
<Button
android:id="@+id/reshresh_from_nightscout"
style="?android:attr/buttonStyle"
2017-05-11 18:54:50 +02:00
android:layout_width="match_parent"
2021-02-03 16:04:09 +01:00
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:text="@string/nav_refreshtreatments" />
2017-05-11 18:54:50 +02:00
2021-02-03 16:04:09 +01:00
<Button
android:id="@+id/delete_future_treatments"
style="?android:attr/buttonStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
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"
android:layout_height="match_parent">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>