I want to ad a PopupMenu a round corner.I did it successfully on a toolbar by using a roundCornerDrawable in the appTheme so that it became round corner. But what I want is to give round corner to a popupMenu which is created dynamically on a button unlike a popupMenuu created in toolbar by inflating it.
Thanks in advance