You can retrieve the views from the Dialog in the onClick() with:
EditText edit = (EditText) ((AlertDialog) dialog).findViewById(R.id.the_id_of_view);
You can retrieve the views from the Dialog in the onClick() with:
EditText edit = (EditText) ((AlertDialog) dialog).findViewById(R.id.the_id_of_view);