Skip to content

Instantly share code, notes, and snippets.

@madindo
Last active Jul 11, 2019
Embed
What would you like to do?
Android Material Design Popup Menu
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:title="@string/item_1"
android:id="@+id/item1_id" />
<item
android:title="@string/item_2"
android:id="@+id/item2_id" />
<item
android:title="@string/item_3"
android:id="@+id/item3_id" />
<item android:title=""
android:id="@+id/search_id"
android:icon="@drawable/magnify"
app:showAsAction="always" />
<item android:title=""
android:id="@+id/cart_id"
android:icon="@drawable/cart"
app:showAsAction="always" />
</menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment