table auto scroll horizontal code example
Example 1: tablayout horizontal scroll
In Java:
tabLayout.setTabMode(MODE_SCROLLABLE) // Default is MODE_FIXED
In XML:
app:tabMode="scrollable"
Example 2: how to make div scrollable horizontal
overflow-x: auto(show when needed) or hidden(never) or scroll(always scroll);