forked from github/wulkanowy-mirror
2fbd2da60c
* Fix bug with the number of grades in snackbar * Add basic grade notification * Add notification icons * Add intent to notification * Improve login activity appearance * Improve dashboard appearance * Small amendments * Change splash logo
61 lines
2.3 KiB
XML
61 lines
2.3 KiB
XML
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/coordinator_grade"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="io.github.wulkanowy.activity.dashboard.grades.GradesFragment">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:id="@+id/fragment_no_grades">
|
|
|
|
<ImageView
|
|
android:id="@+id/wrench_under_construction"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/textView3"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="40dp"
|
|
android:contentDescription="@string/activity_dashboard_text"
|
|
android:minHeight="100dp"
|
|
android:minWidth="100dp"
|
|
app:srcCompat="@drawable/icon_grade_26dp" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="46dp"
|
|
android:text="@string/fragment_no_grades"
|
|
android:textSize="20sp"
|
|
android:textAlignment="center"
|
|
android:id="@+id/textView3" />
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/loadingPanel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center">
|
|
|
|
<ProgressBar
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true" />
|
|
</RelativeLayout>
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/grade_swipe_refresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/subject_grade_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |