Tell me, please, how to add an icon to the button. I do this:
<Button android:id="@+id/contextMenuButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:icon=" @android :drawable/ic_menu_view" /> But I get a regular button without an icon, whereas I would like a button that looks like a context menu (the one called overflow). It seems to have heard that the icon for overflow is stored in android sdk and can be obtained from this id:
@android :drawable/ic_menu_view But nothing comes out. Tell me how to make the button look like a context menu button? Thank you in advance!