It depends what SDK Version you want to target:
Target devises lower than 11:
At your AndroidManifest.xml
use:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="x" android:maxSdkVersion="10"/>
x anything between 8-10 (depends on your code)
At your style use:
<item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
Target any device:
At your AndroidManifest.xml
use:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
16 used at ActionBarSherlock
example can be any greater or equal to 11 (depends on your code)
At your style use both:
<item name="actionBarStyle">@style/Widget.Styled.ActionBar</item>
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBar</item>
the 1st one is for ActionBarSherlock
theme and the 2nd is for using the same theme in android devices that already support ActionBar
Edit: To clear Lint warnings (red underlining in XML file that may show up):