2023-03-29 22:14:29 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-03 17:39:36 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-04-08 18:17:20 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-11-14 09:18:00 +01:00
|
|
|
android:layout_width="match_parent"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:layout_height="wrap_content">
|
2018-11-14 09:18:00 +01:00
|
|
|
|
2020-04-08 18:17:20 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/homeworkDialogRecycler"
|
|
|
|
android:layout_width="match_parent"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:overScrollMode="ifContentScrolls"
|
|
|
|
app:layout_constrainedHeight="true"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/homeworkDialogClose"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_bias="0"
|
2020-04-08 18:17:20 +02:00
|
|
|
tools:itemCount="1"
|
|
|
|
tools:listitem="@layout/item_homework_dialog_details" />
|
|
|
|
|
2021-05-02 12:33:27 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
2021-10-08 11:19:49 +02:00
|
|
|
android:layout_height="1dp"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:background="@drawable/ic_all_divider"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/homeworkDialogRecycler" />
|
2020-04-08 18:17:20 +02:00
|
|
|
|
2023-03-29 22:14:29 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/homeworkDialogRead"
|
|
|
|
style="@style/Widget.Material3.Button.TextButton.Dialog"
|
|
|
|
android:layout_width="wrap_content"
|
2024-02-25 16:35:56 +01:00
|
|
|
android:layout_height="wrap_content"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:insetLeft="0dp"
|
|
|
|
android:insetTop="0dp"
|
|
|
|
android:insetRight="0dp"
|
|
|
|
android:insetBottom="0dp"
|
2024-02-25 16:35:56 +01:00
|
|
|
android:minHeight="36dp"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:text="@string/homework_mark_as_done"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/homeworkDialogClose" />
|
2020-04-12 15:12:25 +02:00
|
|
|
|
2023-03-29 22:14:29 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/homeworkDialogClose"
|
|
|
|
style="@style/Widget.Material3.Button.TextButton.Dialog"
|
|
|
|
android:layout_width="wrap_content"
|
2024-02-25 16:35:56 +01:00
|
|
|
android:layout_height="wrap_content"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:insetLeft="0dp"
|
|
|
|
android:insetTop="0dp"
|
|
|
|
android:insetRight="0dp"
|
|
|
|
android:insetBottom="0dp"
|
2024-02-25 16:35:56 +01:00
|
|
|
android:minHeight="36dp"
|
2023-03-29 22:14:29 +02:00
|
|
|
android:text="@string/all_close"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|