I\'m trying to use the new TabLayout in the android design library to create app bar with icons only.
like this:
I used it like this: created an xml file in drawable as shown by @Budius.
in the code: tabLayout.getTabAt(0).setIcon(R.drawable.settings_tab_drawable);
tabLayout.getTabAt(0).setIcon(R.drawable.settings_tab_drawable);
and so on.