87 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
app:cardCornerRadius="8dp"
app:cardElevation="0dp"
style="@style/Theme.UiTemplate.CardView"
app:cardPreventCornerOverlap="true"
app:cardUseCompatPadding="true">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp">
<ImageView
android:id="@+id/examPic"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginStart="20dp"
android:layout_marginTop="7dp"
app:srcCompat="@drawable/ic_time"/>
<TextView
android:id="@+id/time"
android:layout_toEndOf="@+id/examPic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginEnd="20dp"
android:layout_marginStart="10dp"
android:gravity="center"
style="@style/Theme.UiTemplate.TextH4"
android:text="Date of entry"
android:textSize="16sp"/>
<ImageView
android:id="@+id/examPic2"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_below="@+id/time"
android:layout_marginStart="20dp"
android:layout_marginTop="7dp"
app:srcCompat="@drawable/ic_identificator"/>
<TextView
android:id="@+id/identificator"
android:layout_toEndOf="@+id/examPic2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/time"
android:layout_marginEnd="20dp"
android:layout_marginTop="5dp"
android:layout_marginStart="10dp"
android:gravity="center"
style="@style/Theme.UiTemplate.TextH4"
android:text="Identificator"
android:textSize="16sp"/>
<ImageView
android:id="@+id/exam"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_below="@+id/identificator"
android:layout_marginStart="20dp"
android:layout_marginTop="7dp"
app:srcCompat="@drawable/ic_access_type"/>
<TextView
android:id="@+id/type"
android:layout_toEndOf="@+id/examPic2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/identificator"
android:layout_marginEnd="20dp"
android:layout_marginTop="5dp"
android:layout_marginStart="10dp"
android:gravity="center"
style="@style/Theme.UiTemplate.TextH4"
android:text="Type of entry"
android:textSize="16sp"/>
</RelativeLayout>
</androidx.cardview.widget.CardView>