2021-02-03 15:52:43 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-02-03 22:40:13 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-06-05 14:53:03 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:orientation="vertical"
|
2021-05-23 21:38:30 +02:00
|
|
|
tools:context="info.nightscout.androidaps.activities.TreatmentsActivity">
|
2016-06-05 14:53:03 +02:00
|
|
|
|
2022-02-22 21:11:15 +01:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
|
|
|
app:titleTextColor="@android:color/white" />
|
2016-06-05 14:53:03 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
2017-05-11 18:54:50 +02:00
|
|
|
android:layout_width="match_parent"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/defaultbackground"
|
|
|
|
app:alignContent="stretch"
|
|
|
|
app:alignItems="stretch"
|
|
|
|
app:flexDirection="row"
|
|
|
|
app:flexWrap="wrap"
|
|
|
|
app:justifyContent="center">
|
2016-06-06 12:17:37 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<ImageView
|
2021-02-03 15:52:43 +01:00
|
|
|
android:id="@+id/treatments"
|
|
|
|
android:layout_width="wrap_content"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:contentDescription="@string/bolus"
|
|
|
|
android:scaleX="0.8"
|
|
|
|
android:scaleY="0.8"
|
|
|
|
app:srcCompat="@drawable/ic_cp_bolus_carbs" />
|
2016-06-05 14:53:03 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/extended_boluses"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:contentDescription="@string/extended_bolus"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:scaleX="0.7"
|
|
|
|
android:scaleY="0.7"
|
|
|
|
app:srcCompat="@drawable/ic_actions_startextbolus" />
|
2016-07-11 17:49:09 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/temp_basals"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:contentDescription="@string/tempbasal_label"
|
|
|
|
android:scaleX="0.7"
|
|
|
|
android:scaleY="0.7"
|
|
|
|
app:srcCompat="@drawable/ic_actions_starttempbasal" />
|
2017-05-23 22:59:06 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/temp_targets"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:contentDescription="@string/careportal_temporarytarget"
|
|
|
|
android:scaleX="0.7"
|
|
|
|
android:scaleY="0.7"
|
|
|
|
app:srcCompat="@drawable/ic_temptarget_high" />
|
2017-05-23 23:56:53 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/profile_switches"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:contentDescription="@string/careportal_profileswitch"
|
|
|
|
android:scaleX="0.7"
|
|
|
|
android:scaleY="0.7"
|
|
|
|
app:srcCompat="@drawable/ic_actions_profileswitch" />
|
2017-05-16 17:48:58 +02:00
|
|
|
|
2021-02-03 22:40:13 +01:00
|
|
|
<ImageView
|
2021-02-03 15:52:43 +01:00
|
|
|
android:id="@+id/careportal"
|
|
|
|
android:layout_width="wrap_content"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
2021-02-03 15:52:43 +01:00
|
|
|
android:layout_weight="1"
|
2021-02-03 22:40:13 +01:00
|
|
|
android:contentDescription="@string/careportal"
|
|
|
|
android:scaleX="0.7"
|
|
|
|
android:scaleY="0.7"
|
|
|
|
app:srcCompat="@drawable/ic_cp_note" />
|
2017-06-02 23:25:11 +02:00
|
|
|
|
2021-02-09 17:57:28 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userentry"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:contentDescription="@string/userentry"
|
|
|
|
android:paddingStart="1dp"
|
|
|
|
android:paddingEnd="1dp"
|
|
|
|
android:scaleX="0.7"
|
|
|
|
android:scaleY="0.7"
|
|
|
|
app:srcCompat="@drawable/ic_danar_useropt" />
|
|
|
|
|
2021-02-03 15:52:43 +01:00
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
2018-01-22 21:49:01 +01:00
|
|
|
|
2021-02-03 15:52:43 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/fragment_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
2016-06-05 14:53:03 +02:00
|
|
|
|
2021-02-03 15:52:43 +01:00
|
|
|
</LinearLayout>
|