I am using design support to create tabs. I am also using ViewPager for swipable tabs.
ViewPager
Now, I don\'t know how to use only icons instead of texts in tabs
With the TabLayout provided by the Material Components Library you can use:
Something like:
for (int i=0;i