Snake
Snake

Reputation: 14668

Whats is the difference between actionbar and tabhost/tabactivity

Quick question, Whats the difference between actionbar and tabhost. I used to use tabhost and add tabs to it.

Then I was asked to use actionbar and reading about it, it seems it is just another way of having tabs. So when would use each? Whats the difference

Thank you

Upvotes: 8

Views: 6404

Answers (1)

Kyriog
Kyriog

Reputation: 848

Pretty simple: ActionBar is the replacement of TabHost since Android 3.0.

Moreover, ActionBar can do more things than TabHost (like logo as a button, spinners, actions buttons…).

Have a look to ActionBar documentation on Android design guidelines.

Upvotes: 12

Related Questions