Implemented custom action bar layout.