2015-10-17 14:51:54 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-11-24 20:45:53 +03: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 14:51:54 +03:00
|
|
|
|
2015-10-18 20:18:50 +03:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh"
|
2015-10-17 22:31:10 +03:00
|
|
|
android:layout_width="match_parent"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:layout_height="match_parent"
|
2015-11-24 22:40:28 +03:00
|
|
|
android:layout_above="@+id/appbar_bottom"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:orientation="vertical">
|
2015-10-17 22:31:10 +03:00
|
|
|
|
2015-10-18 20:18:50 +03:00
|
|
|
<android.support.v7.widget.RecyclerView
|
2015-11-24 20:45:53 +03: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 20:18:50 +03:00
|
|
|
|
|
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2015-10-17 22:31:10 +03:00
|
|
|
|
2015-11-24 20:45:53 +03: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>
|