forked from github/wulkanowy-mirror
67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
<FrameLayout 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:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatSpinner
|
|
android:id="@+id/attendanceSummarySubjects"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:background="?android:attr/windowBackground"
|
|
android:elevation="5dp"
|
|
android:padding="15dp"
|
|
android:spinnerMode="dialog" />
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/attendanceSummarySwipe"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/attendanceSummaryRecycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
</LinearLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/attendanceSummaryProgress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:indeterminate="true" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/attendanceSummaryEmpty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="invisible">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minWidth="100dp"
|
|
android:minHeight="100dp"
|
|
app:srcCompat="@drawable/ic_menu_main_attendance_24dp"
|
|
app:tint="?android:attr/textColorPrimary"
|
|
tools:ignore="contentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:gravity="center"
|
|
android:text="@string/attendance_no_items"
|
|
android:textSize="20sp" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|