2016-03-09 04:22:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.v4.widget.DrawerLayout
|
|
|
|
android:id="@+id/drawer"
|
2015-12-30 21:10:31 +08:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-09-24 23:27:43 +08:00
|
|
|
android:layout_width="match_parent"
|
2015-11-25 01:45:53 +08:00
|
|
|
android:layout_height="match_parent"
|
2016-03-09 04:22:45 +08:00
|
|
|
android:fitsSystemWindows="true">
|
2015-09-24 23:27:43 +08:00
|
|
|
|
2016-03-09 04:22:45 +08:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/main_content"
|
2015-12-26 07:07:45 +08:00
|
|
|
android:layout_width="match_parent"
|
2016-03-09 04:22:45 +08:00
|
|
|
android:layout_height="match_parent">
|
2015-12-26 07:07:45 +08:00
|
|
|
|
2016-03-09 04:22:45 +08:00
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2015-12-26 07:07:45 +08:00
|
|
|
|
2016-03-09 04:22:45 +08:00
|
|
|
<include layout="@layout/toolbar"/>
|
|
|
|
|
2016-04-13 22:42:59 +08:00
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:theme="@style/Theme.ActionBar.Tab"
|
|
|
|
app:tabIndicatorColor="@android:color/white"
|
|
|
|
app:tabGravity="center"
|
|
|
|
app:tabMode="scrollable"
|
|
|
|
app:tabMinWidth="75dp"/>
|
|
|
|
|
2016-03-09 04:22:45 +08:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
2015-09-25 18:44:11 +08:00
|
|
|
|
2015-09-24 23:27:43 +08:00
|
|
|
|
2015-09-25 18:44:11 +08:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/frame_container"
|
2015-09-24 23:27:43 +08:00
|
|
|
android:layout_width="match_parent"
|
2016-03-09 04:22:45 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_below="@id/appbar">
|
|
|
|
|
2016-05-13 21:45:36 +08:00
|
|
|
<eu.kanade.tachiyomi.widget.EmptyView
|
|
|
|
android:id="@+id/empty_view"
|
|
|
|
android:visibility="gone"
|
2016-03-09 04:22:45 +08:00
|
|
|
android:layout_width="wrap_content"
|
2016-05-13 21:45:36 +08:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_height="wrap_content"/>
|
2015-09-24 23:27:43 +08:00
|
|
|
|
2015-09-25 18:44:11 +08:00
|
|
|
</FrameLayout>
|
2016-03-09 04:22:45 +08:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.NavigationView
|
|
|
|
android:id="@+id/nav_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:fitsSystemWindows="true"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:theme="?attr/navigation_view_theme"
|
2016-03-09 04:22:45 +08:00
|
|
|
app:headerLayout="@layout/navigation_header"
|
|
|
|
app:menu="@menu/menu_navigation"/>
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|