i got this one activity wherein i need to hide actionbar on the login interface then once login it will show the action bar.i got one activity only. if i put getActionBar on
Very simple.
getActionbar().hide(); getActionbar().show();