SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
Spinner popupSpinner = new Spinner(context, Spinner.MODE_DIALOG);
See this link for more details.