Design support library tabs with only icons
I am using design support library to create tabs. By default it creates tabs with text. How can I create tabs with only icons? Also I want to change the icons color if it's current selected tab. Use this to populate the viewPager: public class SectionPagerAdapter extends FragmentPagerAdapter { public SectionPagerAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int position) { switch (position) { case 0: return mFragmentA; case 1: return mFragmentB; case 2: return mFragmentC; default: return null; } } @Override public int getCount() { return 3; } @Override public