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

94 lines
3.7 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"
tools:context=".plugins.Treatments.TreatmentsFragment">
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">
2017-06-30 17:43:10 +02:00
<com.google.android.flexbox.FlexboxLayout xmlns:android="http://schemas.android.com/apk/res/android"
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"
app:justifyContent="space_between">
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"
android:text="@string/extendedbolus" />
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"
2017-05-23 23:56:53 +02:00
android:text="@string/tempbasal" />
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"
2017-05-23 23:56:53 +02:00
android:text="@string/temptarget" />
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"
2017-06-02 23:25:11 +02:00
android:text="@string/profileswitch" />
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>