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"
|
2020-04-18 23:06:05 +02:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
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"
|
2020-04-18 23:06:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/ic_all_divider"
|
|
|
|
android:paddingHorizontal="10dp"
|
|
|
|
android:paddingVertical="5dp">
|
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"
|
2021-04-12 22:06:28 +02:00
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:insetLeft="0dp"
|
|
|
|
android:insetTop="0dp"
|
|
|
|
android:insetRight="0dp"
|
|
|
|
android:insetBottom="0dp"
|
|
|
|
android:minWidth="88dp"
|
2020-04-12 15:12:25 +02:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
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"
|
2021-04-12 22:06:28 +02:00
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:insetLeft="0dp"
|
|
|
|
android:insetTop="0dp"
|
|
|
|
android:insetRight="0dp"
|
|
|
|
android:insetBottom="0dp"
|
|
|
|
android:minWidth="88dp"
|
2020-04-12 15:12:25 +02:00
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:text="@string/all_close"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</LinearLayout>
|