I\'m having a look at the \"Tab Layout\" tutorial which is perfectly clear and my question is very simple : is it possible to create tabs with no icon, just a single title?<
is it possible to create tabs with no icon, just a single title?
Yes. If you are doing something like:
spec = tabHost.newTabSpec("tab_name").setIndicator("Some tab",
res.getDrawable(R.drawable.ic_tab_artists))
.setContent(intent);
Change it to:
spec = tabHost.newTabSpec("tab_name").setIndicator("Some tab").setContent(intent);