title: DatePicker in same Dialog with multiple EditText
body: <p>This is the example what i want to do but i cant.
  i need multiple Edit Text with one date picker in my own dialog box means no need to open the another one for datePicker.
  by clicking positiveButton i need the text in the edit text widget and the selected date in the date picker in the form of string or whatever.
  i have searched alot but there is no solution for my requirement i hope somebody can solve this issue Thanks in advance. </p>
  
  <p><a href="https://i.stack.imgur.com/gjNnj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gjNnj.png" alt="Example DatePicker with EditText "></a></p>
  
  <p>This is my code the edit text and the date picker have been initialized...</p>
  
  <pre><code>   AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
              builder.setTitle("Add Task");
              LayoutInflater inflater = (LayoutInflater) MainActivity.this.getSystemService(LAYOUT_INFLATER_SERVICE);
              View view = inflater.inflate(R.layout.dialoglayout, null);
              final EditText titleText = (EditText) view.findViewById(R.id.dialogTitleText);
              final EditText descriptionText = (EditText) view.findViewById(R.id.dialogDescriptionText);
                  final DatePicker datePicker = (DatePicker) view.findViewById(R.id.datePicker);
  builder.setView(view);
              builder.setPositiveButton("Add", new DialogInterface.OnClickListener() {
                  @Override
                  public void onClick(DialogInterface dialog, int which) {
                     ///text + date Required
                      }
                  }
              });
              builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
                  @Override
                  public void onClick(DialogInterface dialog, int which) {
  }
              });
              builder.show();
  </code></pre>