While i m trying to show 3 menu in overflow menu on sherlockactionbar but it not showing overflow icon , but when i press menu button from hardware it shows option at bottom of screen :
I m overriding menu through this in SherlockFragmentActivity
public boolean onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu) {
// TODO Auto-generated method stub
MenuInflater inflater = getSupportMenuInflater();
inflater.inflate(R.menu.activity_home, menu);
return true;
}
and in Menu xml i have also added android:showAsAction="never" property coding for that .xml:
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/menu_settings"
android:icon="@android:drawable/ic_menu_info_details"
android:showAsAction="never"
android:title="about"/>
<item
android:id="@+id/menu_settings2"
android:icon="@drawable/plusnew"
android:showAsAction="never"
android:title="Add"/>
<item
android:id="@+id/menu_settings3"
android:icon="@drawable/tem2"
android:showAsAction="never"
android:title="Done"/>
</menu>