I have this code to show a dialog with singlechoice(radio) options.
AlertDialog ad = new AlertDialog.Builder(this) .setCancelable(false) .setIcon(R.drawable.
EditText et = (EditText)findViewById(R.id.editText9); int a = Integer.valueOf(item); et.setText(items[a]);