'Android submenu item Choosing the position of the icon and the text?
How could I modify that first in a submenu item it shows me the text first and then if it shows me the icon, how could I give the icon a position?
<?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/options"
android:icon="@drawable/ic_options"
android:iconTint="@color/white"
android:title="hola"
app:showAsAction="ifRoom">
<menu>
<item
android:id="@+id/one"
android:title="item one" />
<item
android:id="@+id/two"
android:icon="@drawable/ic_item_two"
android:title="item two" />
<item
android:id="@+id/three"
android:icon="@drawable/ic_item_three"
android:title="three" />
</menu>
</item>
</menu>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
