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

93 lines
3.6 KiB
XML
Raw Normal View History

2016-06-05 14:53:03 +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.TreatmentsFragment">
2016-06-05 14:53:03 +02:00
2017-05-16 17:48:58 +02:00
<LinearLayout
2017-05-11 18:54:50 +02:00
android:layout_width="match_parent"
2017-05-16 17:48:58 +02:00
android:layout_height="match_parent"
android:orientation="vertical">
2019-12-03 19:26:30 +01:00
<com.google.android.flexbox.FlexboxLayout xmlns:app="http://schemas.android.com/apk/res-auto"
2016-06-05 14:53:03 +02:00
android:layout_width="match_parent"
2017-05-16 17:48:58 +02:00
android:layout_height="wrap_content"
2017-06-30 17:43:10 +02:00
android:background="@color/defaultbackground"
app:alignContent="stretch"
app:alignItems="stretch"
app:flexDirection="row"
app:flexWrap="wrap"
2019-12-03 19:26:30 +01:00
app:justifyContent="center">
2016-06-05 14:53:03 +02:00
2017-05-16 17:48:58 +02:00
<TextView
android:id="@+id/treatments_treatments"
android:layout_width="wrap_content"
2017-06-02 23:25:11 +02:00
android:layout_height="30dp"
2017-05-16 17:48:58 +02:00
android:layout_weight="1"
2017-06-02 23:25:11 +02:00
android:gravity="center_vertical|center_horizontal"
2017-06-30 17:43:10 +02:00
android:paddingLeft="5dp"
android:paddingRight="5dp"
2017-05-22 22:10:56 +02:00
android:text="@string/bolus" />
2016-07-11 17:49:09 +02:00
<TextView
android:id="@+id/treatments_extendedboluses"
android:layout_width="wrap_content"
2017-06-02 23:25:11 +02:00
android:layout_height="30dp"
android:layout_weight="1"
2017-06-02 23:25:11 +02:00
android:gravity="center_vertical|center_horizontal"
2017-06-30 17:43:10 +02:00
android:paddingLeft="5dp"
android:paddingRight="5dp"
2019-12-22 21:37:26 +01:00
android:text="@string/extended_bolus" />
2017-05-16 17:48:58 +02:00
<TextView
android:id="@+id/treatments_tempbasals"
android:layout_width="wrap_content"
2017-06-02 23:25:11 +02:00
android:layout_height="30dp"
2017-05-16 17:48:58 +02:00
android:layout_weight="1"
2017-06-02 23:25:11 +02:00
android:gravity="center_vertical|center_horizontal"
2017-06-30 17:43:10 +02:00
android:paddingLeft="5dp"
android:paddingRight="5dp"
2020-05-11 16:58:59 +02:00
android:text="@string/tempbasal_label" />
2017-05-23 23:56:53 +02:00
2017-06-02 23:25:11 +02:00
<TextView
2017-05-23 23:56:53 +02:00
android:id="@+id/treatments_temptargets"
android:layout_width="wrap_content"
2017-06-02 23:25:11 +02:00
android:layout_height="30dp"
2017-05-23 23:56:53 +02:00
android:layout_weight="1"
2017-06-02 23:25:11 +02:00
android:gravity="center_vertical|center_horizontal"
2017-06-30 17:43:10 +02:00
android:paddingLeft="5dp"
android:paddingRight="5dp"
2019-12-22 21:37:26 +01:00
android:text="@string/careportal_temporarytarget" />
2017-05-16 17:48:58 +02:00
2017-06-02 23:25:11 +02:00
<TextView
android:id="@+id/treatments_profileswitches"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_weight="1"
android:gravity="center_vertical|center_horizontal"
2017-06-30 17:43:10 +02:00
android:paddingLeft="5dp"
android:paddingRight="5dp"
2019-12-22 21:37:26 +01:00
android:text="@string/careportal_profileswitch" />
2017-06-02 23:25:11 +02:00
2018-01-22 21:49:01 +01:00
<TextView
android:id="@+id/treatments_careportal"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_weight="1"
android:gravity="center_vertical|center_horizontal"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:text="@string/careportal" />
2017-06-30 17:43:10 +02:00
</com.google.android.flexbox.FlexboxLayout>
2017-05-16 17:48:58 +02:00
<FrameLayout
android:id="@+id/treatments_fragment_container"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
2016-06-05 14:53:03 +02:00
</FrameLayout>