title: Vertical Android TabLayout not scroll vertically
body: <blockquote>
    <p>I try to develop left TabLayout like this image.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/tzeJm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tzeJm.png" alt="enter image description here"></a></p>
  
  <p>But the problem is <code>TabLayout</code> element not shows and scrolling Vertically. There is my code below maybe I missed something: </p>
  
  <pre><code>&lt;RelativeLayout 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"&gt;
      &lt;android.support.v4.view.ViewPager
          android:id="@+id/viewpager"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_toRightOf="@+id/appBarLay"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
      &lt;android.support.design.widget.AppBarLayout
          android:id="@+id/appBarLay"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_alignParentLeft="true"
          android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
          &lt;android.support.design.widget.TabLayout
              android:id="@+id/tabs"
              android:layout_width="60dp"
              android:layout_height="match_parent"
              app:tabBackground="@drawable/tab_color_selector"
              app:tabGravity="fill"
              app:tabMode="scrollable" /&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>