diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersFragment.java b/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersFragment.java index 06c7dde1ea..748ade0f87 100644 --- a/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersFragment.java +++ b/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersFragment.java @@ -8,7 +8,6 @@ import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.view.ActionMode; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; -import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; @@ -46,7 +45,7 @@ public class ChaptersFragment extends BaseRxFragment implemen @Bind(R.id.chapter_list) RecyclerView recyclerView; @Bind(R.id.swipe_refresh) SwipeRefreshLayout swipeRefresh; - @Bind(R.id.toolbar_bottom) Toolbar toolbarBottom; + @Bind(R.id.toolbar_bottom) ViewGroup toolbarBottom; @Bind(R.id.action_sort) ImageView sortBtn; @Bind(R.id.action_next_unread) ImageView nextUnreadBtn; diff --git a/app/src/main/res/layout/fragment_manga_chapters.xml b/app/src/main/res/layout/fragment_manga_chapters.xml index 6940e96a4d..3012b3afb9 100644 --- a/app/src/main/res/layout/fragment_manga_chapters.xml +++ b/app/src/main/res/layout/fragment_manga_chapters.xml @@ -1,6 +1,5 @@ - + android:theme="@style/ThemeOverlay.AppTheme.Dark"> - + + + android:layout_toEndOf="@+id/action_sort" + android:layout_toLeftOf="@+id/action_next_unread" + android:layout_toRightOf="@+id/action_sort" + android:gravity="center_vertical"> - - - + android:layout_margin="10dp" + android:background="@color/white"/> - - - - - - - - - - - - - - + android:layout_height="match_parent" + android:layout_weight="1" + android:checkable="true" + android:text="@string/action_show_unread" + android:title="@string/action_show_unread"/> + + + + + + + + + \ No newline at end of file