I currently have a whole bunch of spinners in my application. I wasn't thinking much and for each spinner, the first index is filled with
setSelection( index )
spinners have to have a selected state. i would recommend having a "no selection" option
Another option is to have the bottom button selected and then set that one to be invisible (the reason i set the last one to selected is so that you dont have a chunk of blank space in your app as that looks a bit trashy):
case SPINNER_OPTION_FIRST: yourSpinnerLabel.setVisibility(View.VISIBLE); yourTextField.setVisibility(View.VISIBLE); break; // do this for all your other ones if you want case SPINNER_OPTION_LAST: yourSpinnerLabel.setVisibility(View.GONE); yourTextField.setVisibility(View.GONE);
maybe not the most efficient but it works so i hope that helps (still new so cut me some slack)!