I have button in my application and when I click on this button, it opens a spinner, but spinner is in dropdown mode and I need to make it in dialog mode. For API 11 and higher, there is a simple code which does the trick:
Spinner s1 = new Spinner(this, Spinner.MODE_DIALOG);
But I need to use some code which is also for API for 7 and higher. Could anybody help me, please?