As stated in the Action Bar Guide, the android:showAsAction
will only apply to v11+ devices - you need to use app:showAsAction
to have it display in the Action Bar for all appcompat compatible Android versions:
<item android:id="@+id/action_share"
android:icon="@drawable/share"
app:showAsAction="ifRoom"
android:title="Share"/>