I need to display some data in a popup window in an Android app. After a brief search on the web I decided to go with the PopupWindow class.
There seems to be a lot of questions out on the web about how to solve this, so I thought I should post how I solved it.