2019-12-16 22:26:00 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright (c) Kuba Szczodrzyński 2019-12-16.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-11 13:56:09 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-12-16 22:26:00 +01:00
|
|
|
<data>
|
|
|
|
|
|
|
|
</data>
|
2019-12-18 20:07:38 +01:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2019-12-16 22:26:00 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-18 20:07:38 +01:00
|
|
|
android:orientation="vertical"
|
2019-12-16 22:26:00 +01:00
|
|
|
android:paddingLeft="16dp"
|
2019-12-18 20:07:38 +01:00
|
|
|
android:paddingTop="24dp"
|
2019-12-16 22:26:00 +01:00
|
|
|
android:paddingRight="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/dayDate"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2019-12-18 20:07:38 +01:00
|
|
|
android:textAppearance="@style/NavView.TextView.Title"
|
|
|
|
android:textIsSelectable="true"
|
2019-12-16 22:26:00 +01:00
|
|
|
tools:text="wtorek, 17 grudnia" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/lessonChangeContainer"
|
|
|
|
layout="@layout/row_lesson_change_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="8dp"
|
2019-12-18 20:07:38 +01:00
|
|
|
android:layout_marginTop="5dp"
|
2019-12-16 22:26:00 +01:00
|
|
|
android:layout_marginRight="8dp"
|
2019-12-18 20:07:38 +01:00
|
|
|
android:layout_marginBottom="5dp"
|
2019-12-16 22:26:00 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/teacherAbsenceContainer"
|
|
|
|
layout="@layout/row_teacher_absence_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/eventsNoData"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
2020-01-11 13:56:09 +01:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2019-12-16 22:26:00 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-01-06 16:36:48 +01:00
|
|
|
android:gravity="center"
|
2020-01-11 13:56:09 +01:00
|
|
|
app:drawableTopCompat="@drawable/ic_no_events"
|
2019-12-16 22:26:00 +01:00
|
|
|
android:drawablePadding="16dp"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:text="@string/dialog_day_no_events"
|
|
|
|
android:textSize="24sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-12-18 20:07:38 +01:00
|
|
|
android:text="@string/dialog_no_events_hint"
|
2019-12-16 22:26:00 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:textStyle="italic"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/eventsView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:clipToPadding="false"
|
2019-12-18 20:07:38 +01:00
|
|
|
tools:visibility="visible"
|
2019-12-16 22:26:00 +01:00
|
|
|
tools:listitem="@layout/event_list_item" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-12-18 20:07:38 +01:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2019-12-16 22:26:00 +01:00
|
|
|
</layout>
|