2019-04-29 19:27:51 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-15 12:01:17 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView xmlns:tools="http://schemas.android.com/tools"
|
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-07-31 19:48:21 +02:00
|
|
|
app:cardBackgroundColor="@color/colorBackgroundLight"
|
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-07-31 19:48:21 +02:00
|
|
|
android:textColor="@color/colorText"/>
|
2019-04-29 19:27:51 +02:00
|
|
|
|
2019-09-04 18:46:25 +02:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/linearContainer"
|
2019-08-02 13:35:54 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-04 18:46:25 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginStart="16dp"
|
2019-08-02 13:35:54 +02:00
|
|
|
android:layout_marginTop="8dp"
|
2019-09-04 18:46:25 +02:00
|
|
|
android:gravity="start|center_vertical"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/group"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/time">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/iconView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:tint="@color/colorText"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/course"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
|
android:textColor="@color/colorText"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/spacer"
|
|
|
|
|
android:text="•"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="2dp"
|
|
|
|
|
android:layout_marginEnd="2dp"
|
2019-09-15 12:01:17 +02:00
|
|
|
android:textColor="@color/colorText"
|
|
|
|
|
tools:ignore="HardcodedText" />
|
2019-09-04 18:46:25 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/teacher"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/colorText"
|
|
|
|
|
android:layout_marginEnd="8dp"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-08-02 13:35:54 +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"
|
|
|
|
|
android:textColor="@color/colorText"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/room"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-09-04 18:46:25 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/linearContainer" />
|
2019-08-02 13:35:54 +02:00
|
|
|
|
2019-04-29 19:27:51 +02:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/date"
|
2019-09-18 11:12:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-04-29 19:27:51 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:textAlignment="textEnd"
|
2019-07-31 19:48:21 +02:00
|
|
|
android:textColor="@color/colorText"
|
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"
|
2019-09-18 11:12:10 +02:00
|
|
|
app:layout_constraintWidth_max="200dp" />
|
2019-04-29 19:27:51 +02:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/time"
|
2019-09-18 11:12:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-04-29 19:27:51 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:textAlignment="textEnd"
|
2019-07-31 19:48:21 +02:00
|
|
|
android:textColor="@color/colorText"
|
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/room"
|
2019-09-18 11:12:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-04-29 19:27:51 +02:00
|
|
|
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-07-31 19:48:21 +02:00
|
|
|
android:textColor="@color/colorText"
|
2019-06-02 17:57:57 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|