2020-04-12 15:12:25 +02:00
|
|
|
<LinearLayout 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"
|
|
|
|
android:id="@+id/parent"
|
2018-11-14 09:18:00 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-04-12 15:12:25 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
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"
|
2018-11-14 09:18:00 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-12 15:12:25 +02:00
|
|
|
android:minWidth="300dp"
|
2020-04-08 18:17:20 +02:00
|
|
|
tools:itemCount="1"
|
|
|
|
tools:listitem="@layout/item_homework_dialog_details" />
|
|
|
|
|
2020-04-12 15:12:25 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2020-04-08 18:17:20 +02:00
|
|
|
|
2020-04-12 15:12:25 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/homeworkDialogRead"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:text="@string/homework_mark_as_done"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/homeworkDialogClose"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:text="@string/all_close"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</LinearLayout>
|