Menu Layout
<menu xmlns:myapp="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- Search Widget -->
<item
android:id="@+id/action_search"
android:icon="@drawable/action_ic_search"
android:title="@string/action_settings"
android:orderInCategory="1"
myapp:showAsAction="always"/>
<!-- Location Found -->
<item
android:id="@+id/action_location_found"
android:icon="@drawable/action_ic_location_found"
android:title="@string/action_settings"
android:orderInCategory="2"
myapp:showAsAction="always"/>
<item
android:id="@+id/action_location"
android:icon="@drawable/action_ic_place"
android:title="@string/action_settings"
android:orderInCategory="3"
myapp:showAsAction="always"/>
I create Actionbar in Android API 10 and I use android support v7 appcompat. I see in some tutorial that when we set android:showAsAction="never" we will get the overflow menu. However when I run my app only 2 item appear and the overflow menu not appear. What should I do to show the overflow menu.
Thanks for your help.