I have an Android sub-menu, declared with this code:
<item
android:icon="@drawable/ic_menu_share"
android:showAsAction="ifRoom"
android:title="Share">
<menu>
<item
android:id="@+id/menuSortNewest"
android:icon="@drawable/ic_menu_share"/>
<item
android:id="@+id/menuSortRating"
android:icon="@drawable/ic_menu_share"/>
</menu>
</item>
The problem is that each item in the menu is an icon with a bunch of extra white space to the right of the icon. I just want the icon with no white space beside it. How do I achieve that?
Here is a screenshot of the application: