2021-02-03 15:30:05 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-03-08 20:10:02 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-01-22 21:49:01 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-02-03 15:30:05 +01:00
|
|
|
android:orientation="vertical"
|
2019-02-28 23:16:50 +01:00
|
|
|
tools:context="info.nightscout.androidaps.plugins.treatments.fragments.TreatmentsCareportalFragment">
|
2018-01-22 21:49:01 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2021-02-03 15:30:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
2021-02-03 15:30:05 +01:00
|
|
|
android:id="@+id/refresh_from_nightscout"
|
|
|
|
style="?android:attr/buttonStyle"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_width="0px"
|
2021-03-08 20:10:02 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 15:30:05 +01:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:drawableStart="@drawable/ic_refresh"
|
|
|
|
android:text="@string/nav_refreshtreatments" />
|
2021-02-03 15:30:05 +01:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
2021-02-03 15:30:05 +01:00
|
|
|
android:id="@+id/remove_androidaps_started_events"
|
|
|
|
style="?android:attr/buttonStyle"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_width="0px"
|
2021-03-08 20:10:02 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 15:30:05 +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 15:30:05 +01:00
|
|
|
android:text="@string/careportal_removestartedevents" />
|
2018-01-22 21:49:01 +01:00
|
|
|
|
2021-03-08 20:10:02 +01:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/show_invalidated"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:checked="false"
|
|
|
|
android:paddingEnd="5dp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2021-03-25 17:48:07 +01:00
|
|
|
android:contentDescription="@string/show_removed"
|
2021-03-08 20:10:02 +01:00
|
|
|
app:srcCompat="@drawable/ic_visibility" />
|
|
|
|
|
2021-02-03 15:30:05 +01:00
|
|
|
</LinearLayout>
|
2018-01-22 21:49:01 +01:00
|
|
|
|
2021-02-03 15:30:05 +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" />
|
2018-01-22 21:49:01 +01:00
|
|
|
|
2021-02-03 15:30:05 +01:00
|
|
|
</LinearLayout>
|