I have an Android application where an options menu is essential for setting up some preferences values.
Here minimum SDK version
is 8 and the xml
for the menu is like below.
<item
android:id="@+id/mainmunu_setting"
android:icon="@android:drawable/ic_menu_preferences"
android:title="@string/settings">
</item>
In Samsung devices I can open the menu as there is a menu button, but in Xperia Z there is no menu button and the the menu is not visible on the ActionBar
either as the ActionBar
is not customizable for SDK version
11 or below according to this:
How do I change the background color of the ActionBar of an ActionBarActivity using XML?
How can I have a menu appearing on Sony Xperia Z.
On Xperia Z device
On Samsung Galaxy S Duos 2 device
Thank you!