2019-04-29 19:27:51 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
2019-06-02 17:57:57 +02:00
|
|
|
android:id="@+id/planCard"
|
2019-04-29 19:27:51 +02:00
|
|
|
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"
|
2019-06-02 17:57:57 +02:00
|
|
|
app:cardBackgroundColor="@color/lightbackground"
|
2019-07-30 22:48:13 +02:00
|
|
|
app:cardCornerRadius="12dp"
|
2019-05-04 16:20:14 +02:00
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
2019-05-08 08:08:04 +02:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginBottom="3dp"
|
2019-07-30 22:48:13 +02:00
|
|
|
app:cardElevation="2dp">
|
2019-05-04 16:20:14 +02:00
|
|
|
|
2019-04-29 19:27:51 +02:00
|
|
|
<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"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:textColor="@color/textcolor"/>
|
2019-04-29 19:27:51 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/date"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-04 09:27:54 +02:00
|
|
|
android:layout_width="0dp"
|
2019-04-29 19:27:51 +02:00
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:textAlignment="textEnd"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:textColor="@color/textcolor"
|
2019-04-29 19:27:51 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-06-04 09:27:54 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintWidth_max="200dp"/>
|
2019-04-29 19:27:51 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/time"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:textAlignment="textEnd"
|
2019-06-04 09:27:54 +02:00
|
|
|
android:textColor="@color/textcolor"
|
2019-04-29 19:27:51 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="@+id/date"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/date"
|
2019-06-04 09:27:54 +02:00
|
|
|
app:layout_constraintWidth_max="200dp" />
|
2019-04-29 19:27:51 +02:00
|
|
|
|
|
|
|
|
<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"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:textColor="@color/textcolor"
|
2019-04-29 19:27:51 +02:00
|
|
|
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"
|
2019-06-02 17:57:57 +02:00
|
|
|
android:layout_marginBottom="16dp"
|
2019-04-29 19:27:51 +02:00
|
|
|
android:textAlignment="textEnd"
|
2019-06-02 17:57:57 +02:00
|
|
|
android:textColor="@color/textcolor"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2019-04-29 19:27:51 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="@+id/time"
|
2019-06-04 09:27:54 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/time"
|
|
|
|
|
app:layout_constraintWidth_max="200dp" />
|
2019-04-29 19:27:51 +02:00
|
|
|
|
|
|
|
|
<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"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:textColor="@color/textcolor"
|
2019-04-29 19:27:51 +02:00
|
|
|
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"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/room"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/group"
|
2019-05-21 18:55:29 +02:00
|
|
|
android:tint="@color/textcolor"/>
|
2019-04-29 19:27:51 +02:00
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|