title: Use Toolbar With Tab Layout in Eclipse
body: <p>I had created an Android Chatting Application in that I want to add new Material Designs like Toolbar with tab layout, etc.</p>
  
  <p>The application is developed in Eclipse and I tried to add Toolbar layout, it raises error.</p>
  
  <p>I updated the SDK to Android 5.1.1 and also imported the AppCompact library.</p>
  
  <p>Any help will be appreciated.</p>
  
  <p>I using below code for sample test:</p>
  
  <pre><code>&lt;android.support.design.widget.AppBarLayout
      android:layout_height="192dp"
      android:layout_width="match_parent"&gt;
  &lt;android.support.design.widget.CollapsingToolbarLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
      &lt;android.support.v7.widget.Toolbar
              android:layout_height="?attr/actionBarSize"
              android:layout_width="match_parent"
              app:layout_collapseMode="pin"/&gt;
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>I found this code from below link:
  <a href="http://android-developers.blogspot.in/2015/05/android-design-support-library.html" rel="nofollow">http://android-developers.blogspot.in/2015/05/android-design-support-library.html</a></p>
  
  <p>Thanks.</p>