Take the 2-minute tour ×

Is it possible to have icons on Action Bar Tabs for Android?

If so, can someone point me to an example of someone who's accomplished it?

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

Checkout this link ActionBar.Tab.setIcon(Drawable)
Sample code

tab = getActionBar.newTab();
share|improve this answer
can set selected icon too? –  bagusflyer Nov 21 '13 at 4:48
Try creating xml state list drawable and set it as an icon. Here is the link to documentation –  vasart Nov 21 '13 at 23:20
add comment

Your Answer


