Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Action bar for Android 2.1

Is there action bar for Android Level 7 or something else that I can use as action bar? I need to build an app which is using action bar for Android 2.1

like image 500
hardartcore Avatar asked Jul 08 '11 11:07

hardartcore


People also ask

Where is action bar in android?

Android ActionBar is a menu bar that runs across the top of the activity screen in android. Android ActionBar can contain menu items which become visible when the user clicks the “menu” button.

How do I get the action bar?

You may otherwise add the action bar by calling requestFeature(FEATURE_ACTION_BAR) or by declaring it in a custom theme with the windowActionBar property. Beginning with Android L (API level 21), the action bar may be represented by any Toolbar widget within the application layout.

What is difference between action bar and toolbar in android?

What is the difference between the toolbar and the action bar? The most obvious difference between the two is the updated visual design of the toolbar. The toolbar no longer includes an icon on the left side and decreases some of the spacing between the action items on the right side.


1 Answers

JohanNilsson has actually created a ActionBar library which is available on GitHub.

Direct link.

like image 186
David Olsson Avatar answered Sep 26 '22 00:09

David Olsson