title: Recyclerview overlay toolbar
body: <p>I use new <code>com.android.support:design:22.2.0</code> library. When recyclerview initialised it overlay toolbar. I think it's because of incorrect initialization recyclerview. I else try insert <code>recyclerview</code> in single file, but i cannot understand how to inflate it</p>
  
  <pre><code> super.onCreate(savedInstanceState);
      setContentView(R.layout.home);
  
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      setSupportActionBar(toolbar);
  
      final ActionBar ab = getSupportActionBar();
      if (ab != null) {
         ab.setHomeAsUpIndicator(R.drawable.menu_and);
         ab.setDisplayHomeAsUpEnabled(true);
         }
      mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
  
      NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
      if (navigationView != null) {
      setupDrawerContent(navigationView);
      }
      lNews.clear();
      populatedata();
      mLinearLayoutManager = new LinearLayoutManager(getApplicationContext());
      mRecyclerView = (RecyclerView)findViewById(R.id.recycleralda);
      mRecyclerView.setLayoutManager(mLinearLayoutManager);
      mRecyclerView.setItemAnimator(new DefaultItemAnimator());
      mRecyclerviewAdapter = new RecyclerViewAdapter(getApplicationContext());
      mRecyclerviewAdapter.loadNews(lNews);
      mRecyclerView.setAdapter(mRecyclerviewAdapter);
  </code></pre>
  
  <p><code>home.xml</code></p>
  
  <pre><code>&lt;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/drawer_layout"
          android:layout_height="match_parent"
          android:layout_width="match_parent"
          android:fitsSystemWindows="true"&gt;
          &lt;include layout="@layout/app_bar"/&gt;
              &lt;android.support.v7.widget.RecyclerView
                  android:id="@+id/recycleralda"
                  android:layout_below="@+id/app_bar"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_alignParentBottom="true"
                  android:layout_alignParentLeft="true"
                  android:layout_alignParentStart="true"
                  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
              &lt;/android.support.v7.widget.RecyclerView&gt;
  
          &lt;android.support.design.widget.NavigationView
              android:id="@+id/nav_view"
              android:layout_height="match_parent"
              android:layout_width="wrap_content"
              android:layout_gravity="start"
              android:fitsSystemWindows="true"
              app:headerLayout="@layout/nav_header"
              app:menu="@menu/drawer_view"/&gt;  
      &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p><code>app_bar.xml</code></p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
          &lt;android.support.design.widget.CoordinatorLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:id="@+id/main_content"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;android.support.design.widget.AppBarLayout
              android:id="@+id/appbar"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
              &lt;android.support.v7.widget.Toolbar
                  android:id="@+id/toolbar"
                  android:layout_width="match_parent"
                  android:layout_height="?attr/actionBarSize"
                  android:background="?attr/colorPrimary"
                  app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
                  app:layout_scrollFlags="scroll|enterAlways"
                  /&gt;
          &lt;/android.support.design.widget.AppBarLayout&gt;
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>pls upload img
    <a href="http://i.stack.imgur.com/LxcJF.jpg" rel="nofollow">http://i.stack.imgur.com/LxcJF.jpg</a></p>