JakeWharton/ActionBarSherlock — Issue #311: Window.FEATURE_NO_TITLE not honored on 2.x
Author: nelenkov
Created: 2012-02-26 15:19:42+00:00
State: open

I have a fullscreen camera preview activity, where I don't display the action bar on phones, but I do on tablets. This used to work up till a few days ago (using -wip branch), but now I get the 2.x title bar.

```
@Override
protected void activityOnCreate(Bundle icicle) {
Window window = getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN
| WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
if (!UIUtils.isHoneycombTablet(this)) {
requestWindowFeature(com.actionbarsherlock.view.Window.FEATURE_NO_TITLE);
} else {
requestWindowFeature(com.actionbarsherlock.view.Window.FEATURE_ACTION_BAR_OVERLAY);
}
window.setFormat(PixelFormat.TRANSLUCENT);
/...
}
```

If I override the ```android:windowNoTitle``` attribute in my style, it does work though:

```(xml)

```