<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:id="@+id/layoutDrawer"
  android:layoutDirection="rtl"
  android:layout_width="match_parent"
  android:layout_height="match_parent" >

  <FrameLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">



    <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
                                                     xmlns:app="http://schemas.android.com/apk/res-auto"
                                                     android:layout_width="match_parent"
                                                     android:layout_height="match_parent">
      <android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
        <include layout="@layout/toolbar" />

        <android.support.design.widget.TabLayout
          android:id="@+id/tabanim_tabs"
          app:layout_scrollFlags="scroll|enterAlways"
          android:layout_gravity="right"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content" />

      </android.support.design.widget.AppBarLayout>
      <android.support.v4.view.ViewPager
        android:id="@+id/viewpager"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
      />
    </android.support.design.widget.CoordinatorLayout>


  </FrameLayout>


  <include layout="@layout/navigation_drawer_layout"/>
</android.support.v4.widget.DrawerLayout>


