<span style="font-family: Arial, Helvetica, sans-serif;"> AlertDialog.Builder builder = new AlertDialog.Builder(CheckTableActivity.this);</span>
LayoutInflater inflater = getLayoutInflater();
View view = inflater.inflate(R.layout.input_dialog, null);
dg_danger = (EditText) view.findViewById(R.id.editText1);
dg_score = (EditText) view.findViewById(R.id.editText2);
dg_spinner = (Spinner) view.findViewById(R.id.spinner1);
final int num = vp_curr>0?(vp_curr-1):0;
danger_flag = 0;
score_flag = 0;
// Inflate and set the layout for the dialog
// Pass null as the parent view because its going in the dialog layout
builder.setView(view)
// Add action