适配器,可以用系统的
也也可以自定义;
具体详细文档见:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0105/2264.html
// SpinnerAdapter spnDateAdapter=new SpinnerAdapter(getActivity(), arrDate);
// spnDate.setAdapter(spnDateAdapter);
ArrayAdapter adapter=new ArrayAdapter(getActivity(),android.R.layout.simple_spinner_item,arrDate);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spnDate.setAdapter(adapter);