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

86 lines
3.3 KiB
XML
Raw Normal View History

2017-05-11 18:54:50 +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"
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"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="10dp"
android:paddingTop="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:text="@string/treatments_iobtotal_label_string"
2017-05-22 22:10:56 +02:00
android:textAppearance="?android:attr/textAppearanceSmall" />
2017-05-11 18:54:50 +02:00
<TextView
android:id="@+id/treatments_iobtotal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
2017-05-22 22:10:56 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2017-05-11 18:54:50 +02:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:text="@string/treatments_iobactivitytotal_label_string"
2017-05-22 22:10:56 +02:00
android:textAppearance="?android:attr/textAppearanceSmall" />
2017-05-11 18:54:50 +02:00
<TextView
android:id="@+id/treatments_iobactivitytotal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
2017-05-22 22:10:56 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2017-05-11 18:54:50 +02:00
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
2018-09-11 19:29:51 +02:00
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/treatments_reshreshfromnightscout"
style="?android:attr/buttonStyle"
2018-09-11 19:29:51 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
2018-09-11 19:29:51 +02:00
android:layout_weight="1"
android:text="@string/nav_refreshtreatments" />
<Button
android:id="@+id/treatments_delete_future_treatments"
style="?android:attr/buttonStyle"
2018-09-11 19:29:51 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
2018-09-11 19:29:51 +02:00
android:layout_weight="1"
2018-06-21 09:54:48 +02:00
android:text="@string/deletefuturetreatments" />
</LinearLayout>
2017-05-11 18:54:50 +02:00
2019-05-16 13:57:37 +02:00
<androidx.recyclerview.widget.RecyclerView
2017-05-11 18:54:50 +02:00
android:id="@+id/treatments_recyclerview"
android:layout_width="match_parent"
android:layout_height="match_parent">
2019-05-16 13:57:37 +02:00
</androidx.recyclerview.widget.RecyclerView>
2017-05-11 18:54:50 +02:00
</LinearLayout>
</FrameLayout>