Archived
105 lines
4.2 KiB
XML
105 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:backgroundTint="?attr/colorBackgroundCard"
|
||
|
|
app:strokeColor="?attr/colorAccent"
|
||
|
|
app:strokeWidth="0dp"
|
||
|
|
app:cardCornerRadius="0dp"
|
||
|
|
app:cardUseCompatPadding="true"
|
||
|
|
android:clickable="true">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/group"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="16dp"
|
||
|
|
android:layout_marginTop="16dp"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
app:layout_constraintEnd_toStartOf="@+id/date"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
android:textColor="?attr/colorText"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/date"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="16dp"
|
||
|
|
android:layout_marginEnd="16dp"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textColor="?attr/colorText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/time"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
app:layout_constraintEnd_toEndOf="@+id/date"
|
||
|
|
app:layout_constraintStart_toStartOf="@+id/date"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/date"
|
||
|
|
android:textColor="?attr/colorText" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/course"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="8dp"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:textColor="?attr/colorText"
|
||
|
|
app:layout_constraintEnd_toStartOf="@+id/time"
|
||
|
|
app:layout_constraintStart_toEndOf="@+id/iconView"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/group" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/room"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
app:layout_constraintEnd_toEndOf="@+id/time"
|
||
|
|
app:layout_constraintStart_toStartOf="@+id/time"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/time"
|
||
|
|
android:textColor="?attr/colorText" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/additional"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="16dp"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:layout_marginBottom="16dp"
|
||
|
|
android:textColor="?attr/colorText"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toStartOf="@+id/room"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/course" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/iconView"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="0dp"
|
||
|
|
android:layout_marginStart="16dp"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:tint="?attr/colorText"
|
||
|
|
app:layout_constraintBottom_toTopOf="@+id/room"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/group"
|
||
|
|
tools:srcCompat="@tools:sample/avatars" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|