wulkanowy-mod/app/src/main/res/layout/dialog_homework.xml

48 lines
2.1 KiB
XML
Raw Normal View History

2020-04-12 08:12:25 -05:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/parent"
2018-11-14 02:18:00 -06:00
android:layout_width="match_parent"
2020-04-12 08:12:25 -05:00
android:layout_height="match_parent"
android:orientation="vertical">
2018-11-14 02:18:00 -06:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/homeworkDialogRecycler"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
2020-04-12 08:12:25 -05:00
android:minWidth="300dp"
tools:itemCount="1"
tools:listitem="@layout/item_homework_dialog_details" />
2020-04-12 08:12:25 -05:00
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/ic_all_divider"
android:paddingHorizontal="10dp"
android:paddingVertical="5dp">
2020-04-12 08:12:25 -05: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: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:text="@string/all_close"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>