2018-09-24 08:21:47 -05:00
|
|
|
<LinearLayout 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"
|
2018-05-03 12:47:34 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-09-24 08:21:47 -05:00
|
|
|
android:orientation="vertical">
|
2018-05-03 12:47:34 -05:00
|
|
|
|
2018-09-24 08:21:47 -05:00
|
|
|
<FrameLayout
|
2018-08-24 08:48:29 -05:00
|
|
|
android:layout_width="match_parent"
|
2018-09-24 08:21:47 -05:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2018-08-24 08:48:29 -05:00
|
|
|
|
2018-09-24 08:21:47 -05:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/examProgress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:indeterminate="true" />
|
2018-05-03 12:47:34 -05:00
|
|
|
|
2018-09-24 08:21:47 -05:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/examSwipe"
|
2018-05-03 12:47:34 -05:00
|
|
|
android:layout_width="match_parent"
|
2018-09-24 08:21:47 -05:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/examRecycler"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2018-05-03 12:47:34 -05:00
|
|
|
|
2018-09-24 08:21:47 -05:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/examEmpty"
|
2018-05-03 12:47:34 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-09-24 08:21:47 -05:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="100dp"
|
|
|
|
android:minWidth="100dp"
|
|
|
|
app:srcCompat="@drawable/ic_menu_main_exam_24dp"
|
|
|
|
app:tint="?android:attr/textColorPrimary"
|
|
|
|
tools:ignore="contentDescription" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/exam_no_items"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/examPreviousButton"
|
|
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:gravity="start|center"
|
|
|
|
android:text="@string/prev"
|
|
|
|
android:textAlignment="gravity" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/examNavDate"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/app_name" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/examNextButton"
|
|
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:gravity="end|center"
|
|
|
|
android:text="@string/next"
|
|
|
|
android:textAlignment="gravity" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|