2015-10-17 13:51:54 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-11-24 18:45:53 +01:00
|
|
|
<RelativeLayout 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:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2015-10-17 13:51:54 +02:00
|
|
|
|
2015-10-18 19:18:50 +02:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh"
|
2015-10-17 21:31:10 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-11-24 18:45:53 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@id/appbar_bottom"
|
|
|
|
android:orientation="vertical">
|
2015-10-17 21:31:10 +02:00
|
|
|
|
2015-10-18 19:18:50 +02:00
|
|
|
<android.support.v7.widget.RecyclerView
|
2015-11-24 18:45:53 +01:00
|
|
|
android:id="@+id/chapter_list"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
tools:listitem="@layout/item_chapter">
|
2015-10-18 19:18:50 +02:00
|
|
|
|
|
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2015-10-17 21:31:10 +02:00
|
|
|
|
2015-11-24 18:45:53 +01:00
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/appbar_bottom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:theme="@style/AppTheme.ActionBar">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar_bottom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:elevation="4dp"
|
|
|
|
android:gravity="top|start"
|
|
|
|
android:theme="@style/ThemeOverlay.AppTheme.Dark"
|
|
|
|
app:popupTheme="@style/AppTheme.Popup" />
|
|
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|