forked from github/wulkanowy-mirror
52 lines
1.9 KiB
XML
52 lines
1.9 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">
|
||
|
|
||
|
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
||
|
android:id="@+id/teacherProgress"
|
||
|
style="@style/Widget.MaterialProgressBar.ProgressBar"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:indeterminate="true" />
|
||
|
|
||
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||
|
android:id="@+id/teacherSwipe"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/teacherRecycler"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/teacherEmpty"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="10dp"
|
||
|
android:visibility="gone"
|
||
|
tools:ignore="UseCompoundDrawables">
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="100dp"
|
||
|
android:layout_height="100dp"
|
||
|
app:srcCompat="@drawable/ic_more_teacher"
|
||
|
app:tint="?colorOnBackground"
|
||
|
tools:ignore="contentDescription" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="20dp"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/teacher_no_items"
|
||
|
android:textSize="20sp" />
|
||
|
</LinearLayout>
|
||
|
</FrameLayout>
|