title: Android: how to disable default pop TabLayout animation on tab selection
body: <p>So, is there a way to disable animation when a tab is selected? I'd like to remove shadow/elevation. The idea is to keep it simple.</p>
  
  <p><a href="https://i.stack.imgur.com/AYAHp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AYAHp.png" alt="enter image description here"></a></p>
  
  <p>Here is my layout app bar code:</p>
  
  <pre><code>&lt;android.support.design.widget.AppBarLayout
      android:id="@+id/appbar2"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="@color/colorWhite"
      app:elevation="0dp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintStart_toStartOf="parent"&gt;
  
      &lt;android.support.design.widget.TabLayout
          android:id="@+id/tabs"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/colorWhite"
          app:tabIndicatorColor="@android:color/transparent"
          app:tabIndicatorHeight="0dp"&gt;
  
          &lt;android.support.design.widget.TabItem
              android:id="@+id/tabItem0"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout="@layout/tab_translator"
              android:icon="@drawable/ic_translator"/&gt;
  
          &lt;android.support.design.widget.TabItem
              android:id="@+id/tabItem1"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout="@layout/tab_history"
              android:icon="@drawable/ic_history"/&gt;
  
          &lt;android.support.design.widget.TabItem
              android:id="@+id/tabItem2"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout="@layout/tab_dialog"
              android:icon="@drawable/ic_dialog"/&gt;
  
      &lt;/android.support.design.widget.TabLayout&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  </code></pre>
  
  <p>Any help will be appreciated. </p>