Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the different bars (status bar, action bar, navigation bar, tool bar etc.) available in android?

Tags:

What are the different bars available in android and where are they located? Pics to support each type would be highly appreciated and helpful for beginners.

like image 551
sofs1 Avatar asked Oct 02 '16 23:10

sofs1


People also ask

How many types of status bar are there?

There are two different types of elements in a status bar: Indicators and Separators.

What is status or navigation bar Android?

Android navigation bar link The Android navigation bar houses the device navigation controls: Back, Home, and Overview. It also displays a menu for apps written for Android 2.3 or earlier.

What is the difference between status bar and navigation bar?

The navigation or system bar is where the HOME, BACK, etc. buttons are. This is usually on the opposite side of the screen from the status bar, and therefore usually is at the bottom of the screen. This is provided by the system; the app does not directly manipulate the contents of this bar.

What is the 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. In general an ActionBar consists of the following four components: App Icon: App branding logo or icon will be displayed here.


1 Answers

The status bar is where the clock, battery icon, notification icons, and the like reside. Most of the time, it is at the top of the screen. This is provided by the system; the app does not directly manipulate the contents of this bar.

The action bar (sometimes referred to as the app bar), if it exists for an activity, will be at the top of the activity's content area, typically directly underneath the status bar. Activities control whether there is an action bar and, if so, what it looks and works like.

The navigation or system bar is where the HOME, BACK, etc. buttons are. This is usually on the opposite side of the screen from the status bar, and therefore usually is at the bottom of the screen. This is provided by the system; the app does not directly manipulate the contents of this bar.

Bars on an Android 4.x device

like image 131
CommonsWare Avatar answered Oct 11 '22 11:10

CommonsWare