mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2024-09-21 12:19:09 -05:00
64 lines
2.5 KiB
XML
64 lines
2.5 KiB
XML
|
<android.support.design.widget.CoordinatorLayout 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/exams_tab_fragment_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
tools:context="io.github.wulkanowy.ui.main.grades.GradesFragment">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/exams_tab_fragment_progress_bar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<ProgressBar
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:indeterminate="true" />
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/exams_tab_fragment_no_item_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/exams_tab_fragment_no_item_image"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@+id/exams_tab_fragment_no_item_text"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:layout_marginTop="40dp"
|
||
|
android:minHeight="100dp"
|
||
|
android:minWidth="100dp"
|
||
|
android:tint="@android:color/black"
|
||
|
app:srcCompat="@drawable/ic_menu_exams_24dp"
|
||
|
tools:ignore="contentDescription" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/exams_tab_fragment_no_item_text"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="46dp"
|
||
|
android:text="@string/exams_no_entries"
|
||
|
android:textAlignment="center"
|
||
|
android:textSize="20sp" />
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<android.support.v4.widget.SwipeRefreshLayout
|
||
|
android:id="@+id/exams_tab_fragment_swipe_refresh"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<android.support.v7.widget.RecyclerView
|
||
|
android:id="@+id/exams_tab_fragment_recycler"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
</android.support.v4.widget.SwipeRefreshLayout>
|
||
|
|
||
|
</android.support.design.widget.CoordinatorLayout>
|