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
The ActionBar usually exists along Fragments so from the Activity you can hide it
ActionBar
Fragments
Activity
getActionbar().hide(); getActionbar().show();
and from the Fragment you can do it
Fragment
getActivity().getActionbar().hide(); getActivity().getActionbar().show();