2017-07-18 13:17:18 -05:00
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-11-16 13:52:47 -06:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-03-04 05:49:16 -06:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/grade_fragment_container"
|
2017-07-18 13:17:18 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-12-11 12:45:28 -06:00
|
|
|
tools:context="io.github.wulkanowy.ui.main.grades.GradesFragment">
|
2017-07-13 10:26:37 -05:00
|
|
|
|
2017-11-16 13:52:47 -06:00
|
|
|
<RelativeLayout
|
2018-03-04 05:49:16 -06:00
|
|
|
android:id="@+id/grade_fragment_no_item_container"
|
2017-11-16 13:52:47 -06:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-03-04 05:49:16 -06:00
|
|
|
android:gravity="center">
|
2017-11-16 13:52:47 -06:00
|
|
|
|
|
|
|
<ImageView
|
2018-03-04 05:49:16 -06:00
|
|
|
android:id="@+id/grade_fragment_no_item_image"
|
2017-11-16 13:52:47 -06:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-04 05:49:16 -06:00
|
|
|
android:layout_below="@+id/grade_fragment_no_item_text"
|
2017-11-16 13:52:47 -06:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:minHeight="100dp"
|
|
|
|
android:minWidth="100dp"
|
2018-03-04 05:49:16 -06:00
|
|
|
android:tint="@android:color/black"
|
2018-03-05 17:57:06 -06:00
|
|
|
app:srcCompat="@drawable/ic_menu_grade_26dp"
|
|
|
|
tools:ignore="contentDescription" />
|
2017-11-16 13:52:47 -06:00
|
|
|
|
|
|
|
<TextView
|
2018-03-05 17:57:06 -06:00
|
|
|
android:id="@+id/grade_fragment_no_item_text"
|
2017-11-16 13:52:47 -06:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="46dp"
|
|
|
|
android:text="@string/fragment_no_grades"
|
2018-05-19 12:58:33 -05:00
|
|
|
android:gravity="center"
|
2018-03-04 05:49:16 -06:00
|
|
|
android:textSize="20sp" />
|
2017-11-06 10:25:38 -06:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2017-10-27 10:05:00 -05:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
2018-03-04 05:49:16 -06:00
|
|
|
android:id="@+id/grade_fragment_swipe_refresh"
|
2017-07-13 10:26:37 -05:00
|
|
|
android:layout_width="match_parent"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:layout_height="match_parent">
|
2017-07-14 04:49:35 -05:00
|
|
|
|
2017-10-27 10:05:00 -05:00
|
|
|
<android.support.v7.widget.RecyclerView
|
2018-03-04 05:49:16 -06:00
|
|
|
android:id="@+id/grade_fragment_recycler"
|
2017-10-27 10:05:00 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2017-07-20 06:59:00 -05:00
|
|
|
|
2017-07-19 08:47:30 -05:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|