Tab Layout not scrollable on large device
<p>i have view pager and for Tab Layout i am adding custom view </p>

<pre><code> for (int i = 0; i &lt; TabsHeader.getTabCount(); i++) {
        TabLayout.Tab tab = TabsHeader.getTabAt(i);
        tab.setCustomView(PagerAdapter.getTabView(i));

    }

   TabsHeader.setTabMode(TabLayout.MODE_SCROLLABLE);
    TabsHeader.setTabGravity(TabLayout.GRAVITY_FILL);
</code></pre>

<p>but it working properly  but on few bigger devices it not scrolling . as i made TabLayout.MODE_SCROLLABLE  why it not scrollable on some devices ? </p>