wulkanowy-mod/app/src/main/res/layout/fragment_grades.xml

50 lines
2.0 KiB
XML
Raw Normal View History

2017-07-18 13:17:18 -05:00
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
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"
tools:context="io.github.wulkanowy.ui.main.grades.GradesFragment">
<RelativeLayout
2018-03-04 05:49:16 -06:00
android:id="@+id/grade_fragment_no_item_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-03-04 05:49:16 -06:00
android:gravity="center">
<ImageView
2018-03-04 05:49:16 -06:00
android:id="@+id/grade_fragment_no_item_image"
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"
android:layout_centerHorizontal="true"
android:layout_marginTop="40dp"
android:contentDescription="@string/activity_dashboard_text"
android:minHeight="100dp"
android:minWidth="100dp"
2018-03-04 05:49:16 -06:00
android:tint="@android:color/black"
2018-03-04 09:53:53 -06:00
app:srcCompat="@drawable/ic_menu_grade_26dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="46dp"
android:text="@string/fragment_no_grades"
2018-03-04 05:49:16 -06:00
android:id="@+id/grade_fragment_no_item_text"
android:textAlignment="center"
2018-03-04 05:49:16 -06:00
android:textSize="20sp" />
</RelativeLayout>
<android.support.v4.widget.SwipeRefreshLayout
2018-03-04 05:49:16 -06:00
android:id="@+id/grade_fragment_swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
2018-03-04 05:49:16 -06:00
android:id="@+id/grade_fragment_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.v4.widget.SwipeRefreshLayout>
</android.support.design.widget.CoordinatorLayout>