2015-10-17 07:51:54 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-11-24 12:45:53 -05:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-11-30 12:45:45 -05:00
|
|
|
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 07:51:54 -04:00
|
|
|
|
2015-10-18 13:18:50 -04:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh"
|
2015-10-17 15:31:10 -04:00
|
|
|
android:layout_width="match_parent"
|
2015-11-24 12:45:53 -05:00
|
|
|
android:layout_height="match_parent"
|
2015-11-30 12:45:45 -05:00
|
|
|
android:layout_above="@+id/toolbar_bottom"
|
2015-11-24 12:45:53 -05:00
|
|
|
android:orientation="vertical">
|
2015-10-17 15:31:10 -04:00
|
|
|
|
2015-10-18 13:18:50 -04:00
|
|
|
<android.support.v7.widget.RecyclerView
|
2015-11-24 12:45:53 -05:00
|
|
|
android:id="@+id/chapter_list"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
2015-12-01 12:16:55 -05:00
|
|
|
android:descendantFocusability="blocksDescendants"
|
2015-11-24 12:45:53 -05:00
|
|
|
tools:listitem="@layout/item_chapter">
|
2015-10-18 13:18:50 -04:00
|
|
|
|
|
|
|
</android.support.v7.widget.RecyclerView>
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2015-10-17 15:31:10 -04:00
|
|
|
|
2015-11-30 12:45:45 -05:00
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar_bottom"
|
2015-11-24 12:45:53 -05:00
|
|
|
android:layout_width="match_parent"
|
2015-11-30 12:45:45 -05:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
2015-11-24 12:45:53 -05:00
|
|
|
android:layout_alignParentBottom="true"
|
2015-11-30 12:45:45 -05:00
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:elevation="4dp"
|
|
|
|
android:gravity="top|start"
|
|
|
|
android:theme="@style/ThemeOverlay.AppTheme.Dark"
|
|
|
|
app:popupTheme="@style/AppTheme.Popup">
|
|
|
|
|
2015-12-01 12:16:55 -05:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginRight="4dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/action_sort_up"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/ic_expand_less_white_36dp"
|
|
|
|
android:title="@string/action_sort_up"
|
|
|
|
android:visible="true"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/action_sort_down"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:src="@drawable/ic_expand_more_white_36dp"
|
|
|
|
android:title="@string/action_sort_down"
|
|
|
|
android:visible="true"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
android:background="@color/white"/>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/action_show_unread"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:checkable="true"
|
|
|
|
android:text="@string/action_show_unread"
|
|
|
|
android:title="@string/action_show_unread"/>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/action_show_downloaded"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:checkable="true"
|
|
|
|
android:text="@string/action_show_downloaded"
|
|
|
|
android:title="@string/action_show_downloaded"/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/action_next_unread"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:src="@drawable/ic_play_arrow_white_36dp"
|
|
|
|
android:title="@string/action_next_unread"
|
|
|
|
android:visible="true"/>
|
|
|
|
</RelativeLayout>
|
2015-11-30 12:45:45 -05:00
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
|
2015-11-24 12:45:53 -05:00
|
|
|
|
|
|
|
</RelativeLayout>
|