Extra white space on SlidingTabLayout bar in Android 7.0 N?
<p>Just upgraded to Android 7.0 and all my SlidingTabLayout bars now have extra white space on the bottom. Not sure if this is intended by the Android team or not, but is there anyway of getting rid of the new white space?</p>

<p><a href="https://i.stack.imgur.com/rl2h3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rl2h3.png" alt="Extra White Space on SlidingTabLayout bar"></a></p>

<p>I am using code provided by Android which can be found here:</p>

<p>Sliding Tab Layout: <a href="https://developer.android.com/samples/BasicTransition/src/com.example.android.common/view/SlidingTabLayout.html" rel="nofollow noreferrer">https://developer.android.com/samples/BasicTransition/src/com.example.android.common/view/SlidingTabLayout.html</a></p>

<p>Sliding Tab Strip:
<a href="https://developer.android.com/samples/BasicTransition/src/com.example.android.common/view/SlidingTabStrip.html" rel="nofollow noreferrer">https://developer.android.com/samples/BasicTransition/src/com.example.android.common/view/SlidingTabStrip.html</a></p>

<p>Here is a snippet of my layout code:</p>

<pre><code>&lt;android.support.design.widget.AppBarLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:theme="@style/AppTheme.AppBarOverlay"&gt;

    &lt;android.support.v7.widget.Toolbar
        android:id="@+id/tool_bar"
        android:layout_height="56dp"
        android:layout_width="match_parent"
        android:background="@drawable/toolbar_gradient"
        app:layout_scrollFlags="scroll|enterAlways"
        android:theme="@style/Base.ThemeOverlay.AppCompat.Dark" /&gt;

    &lt;com.airsenze.wineinsider.controllers.SlidingTabLayout
        android:id="@+id/tabs"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"/&gt;

&lt;/android.support.design.widget.AppBarLayout&gt;

&lt;android.support.v4.view.ViewPager
    android:id="@+id/pager"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    android:layout_width="match_parent"&gt;
&lt;/android.support.v4.view.ViewPager&gt;
</code></pre>

<p>Thanks! Let me know if you need anymore information.</p>