So I was using the ActionBarSherlock and decided to switch to the new ActionBarCompat. With ABS, hiding the ActionBar was possible using the way described in this post: How
Does your activity extends ActionBarActivity? Probably it doesn't and that's why it's running with the getActionbar() method.