I want to modify width of overflow menu. But I dont know how to access the overflow menu.
I tried to
How can I change popup item width size?
Reduce Menu items width,height and textview size
But I could not modify the width.
res/menu/custom_actionbar_item.xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_search"
android:title="@string/search"
app:showAsAction="never"/>
<item
android:id="@+id/action_menu"
android:title="@string/setting"
app:showAsAction="never"/>
</menu>
java/source
@Override
public boolean onCreateOptionsMenu(Menu menu)
{
getMenuInflater().inflate(R.menu.custom_actionbar_item, menu);
return true;
}