setupActionBar

Setup the navigation bar as the action bar of activity.

Parameters

activity

The activity to setup the action bar.