title: Clicking on tabs does not switch current tab when using Android TabLayout
body: <p>Am I supposed to set onClicks myself, and if so, where should I do that?</p>
  
  <pre><code>&lt;RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"&gt;
  
  &lt;android.support.design.widget.TabLayout
      android:id="@+id/sliding_tabs"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      app:tabMode="scrollable" /&gt;
  
  &lt;android.support.v4.view.ViewPager
      android:id="@+id/vpPager"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
  &lt;/android.support.v4.view.ViewPager&gt;
  </code></pre>
  
  <p></p>