How can I show an icon in an ActionBar but not in the Options Menu at the same time? Is it possible via XML only?
Usually, when you have the action bar available, you don't have an action menu anymore. The menu items are not doubled.
If you get the action bar on Android SDK > 10 and the options menu on Android SDK <= 10, then consider using ActionBarSherlock, to make the action bar backwards compatible for older Android versions too:
http://actionbarsherlock.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With