I'm trying to put a Layout into a MenuItem, which works, but it seems that the layout is placed next to a space reserved for the icon and title.
This is my output:
And this is the code used for the menu:
menu.xml:
Code:
<menu > <item app:actionLayout="@layout/drawer_list_item" android:id="@+id/nav_item_inbox" android:visible="true" /> <item android:title="Using a regular MenuItem"...
from Android Authority Forums http://ift.tt/2bx7Wni
via IFTTT
Aucun commentaire:
Enregistrer un commentaire