title: how to add second or third EditText to an AlertDialog
body: <p>Friends,</p>
  
  <p>I m quite new so sorry for the basic question but after hours of searching I gave up.
  How do i add a second EditText to my AlertDialog? It shows just one Edittext with the two Buttons.
  The second EditText is not Displayed at all.</p>
  
  <p>heres my code,</p>
  
  <pre><code>final AlertDialog.Builder alert = new AlertDialog.Builder(ctx);
  final EditText inputstreet = new EditText(ctx);
  final EditText inputstreetnumber = new EditText(ctx);
  
  alert.setView(inputstreet);
  alert.setView(inputstreetnumber);
                 alert.setTitle(getResources().getString(R.string.t_MainAlertEnterAdressTitle));
  // alert.setIcon(R.drawable.huji2); // Icon disabled for now
  alert.setMessage(getResources().getString(R.string.t_MainAlertEnterAdressMessage));
  alert.setPositiveButton(getResources().getString(R.string.t_MainAlertEnterAdressButtonOk),
          new DialogInterface.OnClickListener() {
              @Override
              public void onClick(DialogInterface dialog,
                      int whichButton) {
  
  
                  finish();
              }
          });
  
  alert.setNegativeButton(getResources().getString(R.string.t_MainAlertEnterAdressButtonBack),
          new DialogInterface.OnClickListener() {
              @Override
              public void onClick(DialogInterface dialog,
                      int whichButton) {
  
                  dialog.cancel();
  
              }
          });
  alert.show();
  </code></pre>
  
  <p>I removed everything whats not important. Thanks a lot!!!</p>