我想在微调器中添加取消按钮如何在微调器中添加取消按钮而不
使用警报对话框请给我一个例子..
spinner = (Spinner) findViewById(R.id.spinner);
ArrayAdapter<String> adapter = new ArrayAdapter<String>(getApplicationContext(),R.layout.test_list_item,stringArray);
adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item);
spinner.setAdapter((adapter));