title: How make two inputs with Material Dialog
body: <p><a href="https://github.com/afollestad/material-dialogs#input-dialogs" rel="nofollow">Material Dialog</a></p>
  
  <p>So well that es my code.. add two inputs in my Material Dialog and have this <a href="https://i.stack.imgur.com/Nk0z1.png" rel="nofollow">image</a></p>
  
  <pre><code>MaterialDialog dialog = new MaterialDialog.Builder(this)
                  .title(R.string.ingresar_codigo)
                  .inputType(InputType.TYPE_CLASS_TEXT)
                  .input(getString(R.string.codigo), "1", new MaterialDialog.InputCallback() {
                      @Override
                      public void onInput(@NonNull MaterialDialog dialog, CharSequence input) {
                          datos[0] = input.toString();
                          Log.d(TAG, datos[0]);
                      }
                  })
                  .inputType(InputType.TYPE_CLASS_TEXT)
                  .input(getString(R.string.dni), "2", new MaterialDialog.InputCallback() {
                      @Override
                      public void onInput(@NonNull MaterialDialog dialog, CharSequence input) {
                          datos[1] = input.toString();
                          Log.d(TAG, datos[1]);
                      }
                  })
                  .positiveText(R.string.aceptar)
                  .onPositive(new MaterialDialog.SingleButtonCallback() {
                      @Override
                      public void onClick(@NonNull MaterialDialog dialog, @NonNull DialogAction which) {
                          if (!datos[0].isEmpty() &amp;&amp; !datos[1].isEmpty()) {
                              confirmarDialogoDatos(datos[0], datos[1], MenuCorporativo.this);
                          } else { Snackbar.make(layout, "DEBE INGRESAR DATOS", Snackbar.LENGTH_LONG).show(); }
                      }
                  })
                  .negativeText(R.string.cancelar)
                  .onNegative(new MaterialDialog.SingleButtonCallback() {
                      @Override
                      public void onClick(@NonNull MaterialDialog dialog, @NonNull DialogAction which) {
                          dialog.dismiss();
                      }
                  })
                  .show();
  </code></pre>
  
  <p>I have a problem not like having two EditText in my material dialog</p>