Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    The same applies for standard Android 3+ ActionBar (no Sherlock): <activity android:theme="@android:style/Theme.NoActionBar">. Commented Mar 13, 2013 at 10:20
  • 7
    I don't see how this is an answer to Ilya's question. Setting the theme to be Theme.Sherlock.NoActionBar will mean calling getActionBar() or getSupportActionBar() (to subsequently show the action bar) returns null... Commented Aug 15, 2013 at 11:37
  • @AlexSemeniuk When I use that line in the manifest, I get this error: error: Error: No resource found that matches the given name (at 'theme' with value '@android:style/ Theme.NoActionBar'). Commented Aug 20, 2013 at 13:02
  • 1
    @SiKni8 Are you sure you are using API13+ library for your application? Commented Aug 22, 2013 at 9:32
  • Somehow Eclipse loaded 3.0 and it caused an error. Finally fixed it. Thanks. Commented Aug 22, 2013 at 14:17