You need to call a method to actually show the popup on some event action or whenever you need it. Here are the different methods from the docs
Here is one example of using showAtLocation()
.
showAsDropDown(View anchor)
may be the simplest depending on your needs. Just pass it the view
you want it to attach to. Though, the other two give you more flexibility on where it shows.