Backport of android PopupMenu widget to support with API < 14.