使用AlertDialog.Builder的setSingleChoiceItems方法可以做出带单选列表的对话框。
http://blubels.blog.163.com/blog/static/18425789720115163303395/
亮点:
AlertDialog.Builder builder = new AlertDialog.Builder( this );
builder.setTitle( "请选择省份" );
builder.setSingleChoiceItems( province , 0, buttonOnClick );
builder.setPositiveButton( "确定" , buttonOnClick );
builder.setNegativeButton( "取消" , buttonOnClick );
builder.show();
袁洁莹
HxLauncher: Launch Android applications by voice commands