2016-06-06 10:42:46 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-05-16 13:57:37 +02:00
|
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-06-06 10:42:46 +02:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-02-03 20:22:03 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2017-05-22 22:10:56 +02:00
|
|
|
card_view:cardBackgroundColor="?android:colorBackground">
|
2016-06-06 10:42:46 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:baselineAligned="true"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<com.joanzapata.iconify.widget.IconTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="5dp"
|
|
|
|
android:text="{fa-clock-o}"
|
|
|
|
tools:ignore="HardcodedText" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:id="@+id/date"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="1.1.2000 18:00"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
tools:ignore="HardcodedText" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-04-05 22:41:28 +02:00
|
|
|
android:id="@+id/rate"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:paddingStart="10dp"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:text="150%"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
tools:ignore="HardcodedText,RtlSymmetry" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:id="@+id/duration"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:paddingStart="10dp"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:text="30 min"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
tools:ignore="HardcodedText,RtlSymmetry" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
2016-07-10 15:05:13 +02:00
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:layout_width="0dp"
|
2016-07-10 15:05:13 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-05 22:41:28 +02:00
|
|
|
android:layout_weight="1" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-04-05 22:41:28 +02:00
|
|
|
android:id="@+id/extended_flag"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-05 22:41:28 +02:00
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:text="E"
|
|
|
|
android:textColor="@color/colorSetExtendedButton"
|
2021-02-03 20:22:03 +01:00
|
|
|
tools:ignore="HardcodedText,RtlSymmetry" />
|
2017-06-08 18:15:17 +02:00
|
|
|
|
2021-04-09 08:02:46 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/suspend_flag"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:text="S"
|
|
|
|
android:textColor="@color/colorSetExtendedButton"
|
|
|
|
tools:ignore="HardcodedText,RtlSymmetry" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/emulated_suspend_flag"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:text="ES"
|
|
|
|
android:textColor="@color/colorSetExtendedButton"
|
|
|
|
tools:ignore="HardcodedText,RtlSymmetry" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/super_bolus_flag"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:text="SB"
|
|
|
|
android:textColor="@color/colorSetExtendedButton"
|
|
|
|
tools:ignore="HardcodedText,RtlSymmetry" />
|
|
|
|
|
2017-06-08 18:15:17 +02:00
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:id="@+id/ph"
|
2017-06-08 18:15:17 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-05 22:41:28 +02:00
|
|
|
android:layout_marginStart="5dp"
|
2017-06-08 18:15:17 +02:00
|
|
|
android:text="PH"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:textColor="@color/colorSetTempButton"
|
|
|
|
tools:ignore="HardcodedText" />
|
2017-06-08 18:15:17 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:id="@+id/ns"
|
2017-06-08 18:15:17 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-05 22:41:28 +02:00
|
|
|
android:layout_marginStart="5dp"
|
2017-06-08 18:15:17 +02:00
|
|
|
android:text="NS"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:textColor="@color/colorSetTempButton"
|
|
|
|
tools:ignore="HardcodedText" />
|
2017-06-08 18:15:17 +02:00
|
|
|
|
2021-04-05 22:41:28 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
2016-06-06 10:42:46 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
2016-07-11 17:49:09 +02:00
|
|
|
|
2016-06-06 10:42:46 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:text="@string/tempbasals_iob_label_string"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:id="@+id/iob"
|
2016-06-06 10:42:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:layout_marginEnd="30dp"
|
2016-07-11 17:49:09 +02:00
|
|
|
android:text="0.12 U"
|
2021-02-03 20:22:03 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
tools:ignore="HardcodedText" />
|
2016-06-06 10:42:46 +02:00
|
|
|
|
2017-05-09 20:47:02 +02:00
|
|
|
<TextView
|
2021-02-03 20:22:03 +01:00
|
|
|
android:layout_width="0dp"
|
2017-05-09 20:47:02 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-05 22:41:28 +02:00
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/invalid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:text="@string/invalid"
|
|
|
|
android:textColor="@android:color/holo_red_light" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/remove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
2021-02-22 18:04:30 +01:00
|
|
|
android:text="@string/remove_button"
|
2017-05-09 20:47:02 +02:00
|
|
|
android:textAlignment="viewEnd"
|
|
|
|
android:textColor="@android:color/holo_orange_light" />
|
|
|
|
|
2021-04-05 22:41:28 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
|
2016-06-06 10:42:46 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2017-05-22 20:58:05 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginTop="5dp"
|
2021-04-05 22:41:28 +02:00
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
2021-02-04 12:03:34 +01:00
|
|
|
android:background="@color/list_delimiter" />
|
2017-05-22 20:58:05 +02:00
|
|
|
|
2016-06-06 10:42:46 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-05-16 13:57:37 +02:00
|
|
|
</androidx.cardview.widget.CardView>
|