I am new to Android. I am trying to use Actionbarsherlock in my application. I tried the following code in the onCreateOptionsMenu :
menu.add("Save").setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
menu.add("Edit").setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
menu.add("Clear").setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
menu.add("Refresh").setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
menu.add("Save all").setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
But i am not getting the overflow icon in the actionbar. I understood its a silly mistake. But i couldn't find where it is. Please help me to fix it!