I have seen it done in apps like QuickPic where they managed to put the icon on right side
I tried to make the same thing but then I realized the icon seems to be hard-coded to appear on the left side.
Below is my menu.xml
<menu>
<item android:id="@+id/sort_by_name"
android:title="By name"
android:icon="@drawable/ic_arrow_downward_gray_24dp"
/>
<item android:id="@+id/sort_by_date"
android:title="By date"/>
<item android:id="@+id/sort_by_path"
android:title="By path"/>
</menu>
So is there any way to move the icon to the right side?