title: Custom PopupMenu (layout)
body: <p>I'm trying to upgrade my PopupMenu so it would come with icons and custom styles.<br>
  I have created a new layout for it</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content"
    xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;RelativeLayout
          android:id="@+id/layout_sharea"
          android:background="@drawable/share"
          android:paddingLeft="10.0dip"
          android:paddingRight="10.0dip"
          android:layout_width="wrap_content"
          android:layout_height="50.0dip"
          android:onClick="share"&gt;
          &lt;TextView
              android:id="@+id/sharetexta"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:text="@string/share"
              android:drawableLeft="@drawable/share_button"
              android:drawablePadding="10.0dip"
              android:layout_centerVertical="true" /&gt;
       &lt;/RelativeLayout&gt;
       &lt;RelativeLayout
          android:id="@+id/layout_shareb"
          android:background="@drawable/share"
          android:paddingLeft="10.0dip"
          android:paddingRight="10.0dip"
          android:layout_width="wrap_content"
          android:layout_height="50.0dip"
          android:layout_below="@+id/layout_sharea"
          android:onClick="share"&gt;
          &lt;TextView
              android:id="@+id/sharetextb"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:text="@string/share"
              android:drawableLeft="@drawable/share_button"
              android:drawablePadding="10.0dip"
              android:layout_centerVertical="true" /&gt;
       &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I want the PopupMenu to be customized (to be this layout) like in this picture
  <img src="https://i.stack.imgur.com/wgTsX.png" alt="PopupMenu"></p>