2021-02-09 17:57:28 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-03-25 13:32:11 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-02-09 17:57:28 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-03-25 13:32:11 +01:00
|
|
|
android:id="@+id/info_layout"
|
2021-02-09 17:57:28 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-02-10 19:21:42 +01:00
|
|
|
android:orientation="horizontal">
|
2021-02-09 17:57:28 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginStart="5dp"
|
2022-02-10 19:21:42 +01:00
|
|
|
android:layout_marginTop="5dp"
|
2022-04-17 19:48:41 +02:00
|
|
|
android:layout_marginEnd="5dp"
|
2022-02-10 19:21:42 +01:00
|
|
|
android:layout_marginBottom="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal"
|
2022-02-10 19:21:42 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2022-04-07 12:48:17 +02:00
|
|
|
tools:ignore="RtlSymmetry"
|
|
|
|
tools:text="1.1.2000" />
|
2021-02-09 17:57:28 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/iconSource"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/iconSource"
|
2022-04-07 12:48:17 +02:00
|
|
|
tools:ignore="RtlSymmetry"
|
|
|
|
tools:text="09:00" />
|
2021-02-09 17:57:28 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/action"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/iconSource"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/time"
|
2022-04-07 12:48:17 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/date"
|
|
|
|
tools:ignore="RtlSymmetry"
|
|
|
|
tools:text="USER ENTRY" />
|
2021-03-25 13:32:11 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/iconSource"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/action"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/action"
|
2022-04-07 12:48:17 +02:00
|
|
|
app:srcCompat="@drawable/ic_cp_bolus_carbs"
|
|
|
|
tools:ignore="contentDescription" />
|
2021-02-09 17:57:28 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/values"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2022-04-07 12:48:17 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/action"
|
|
|
|
tools:text="Values with units" />
|
2021-02-09 17:57:28 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/notes"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/values"
|
2022-04-07 12:48:17 +02:00
|
|
|
tools:ignore="RtlSymmetry"
|
|
|
|
tools:text="Notes" />
|
2021-03-02 13:31:07 +01:00
|
|
|
|
2022-02-10 19:21:42 +01:00
|
|
|
<View
|
|
|
|
android:id="@+id/delimiter"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
2022-03-11 12:59:00 +01:00
|
|
|
android:background="?android:attr/dividerHorizontal"
|
2022-02-10 19:21:42 +01:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/notes" />
|
2021-02-09 17:57:28 +01:00
|
|
|
|
2021-03-25 13:32:11 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|