mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
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
20 lines
636 B
XML
20 lines
636 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.widget.DrawerLayout
|
|
android:id="@+id/drawer_layout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<!-- The first child(root) is the content view -->
|
|
<include
|
|
layout="@layout/activity_with_loading"/>
|
|
|
|
<!-- The second child is the menu -->
|
|
<include
|
|
android:id="@+id/navigation_menu_drawer"
|
|
layout="@layout/navigation_menu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"/>
|
|
|
|
</android.support.v4.widget.DrawerLayout> |