This demo shows how to use a popupwindow in android basically