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

58 lines
2.3 KiB
XML
Raw Normal View History

<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"
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"
android:layout_height="wrap_content"
android:orientation="horizontal">
2021-02-03 22:40:13 +01:00
<info.nightscout.androidaps.utils.ui.SingleClickButton
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"
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 22:40:13 +01:00
<info.nightscout.androidaps.utils.ui.SingleClickButton
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"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
2021-02-03 22:40:13 +01:00
android:drawableStart="@drawable/ic_remove"
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"
android:contentDescription="@string/show_calculation"
app:srcCompat="@drawable/ic_visibility" />
</LinearLayout>
2018-01-22 21:49:01 +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
</LinearLayout>