Blog Fragment in Navigation Drawer with Tabs

This replaces the custom layouts in the navigation drawer with a
`NavigationView` and adds a menu entry for Blogs.

A Main Blogs fragment is added that holds a `TabLayout` and a
`ViewPager`. Five tabs are already added, but they just have a single
placeholder fragment that is to be replaced by the actual fragments.

Closes #409
This commit is contained in:
Torsten Grote
2016-06-02 19:06:53 -03:00
parent bba7083660
commit 3f838b0472
40 changed files with 410 additions and 109 deletions

View File

@@ -145,4 +145,14 @@
<item name="android:background">?android:attr/listDivider</item>
</style>
<style name="BriarTabLayout" parent="Widget.Design.TabLayout">
<item name="android:background">@color/briar_primary</item>
<item name="tabMode">scrollable</item>
<item name="tabMaxWidth">100dp</item>
<item name="tabIndicatorColor">@color/briar_text_primary_inverse</item>
<item name="tabIndicatorHeight">3dp</item>
<item name="tabSelectedTextColor">@color/briar_text_primary_inverse</item>
<item name="tabTextColor">@color/briar_text_primary_inverse</item>
</style>
</resources>