title: Popup DatePicker for EditText
body: <p>Been trying to look at other questions on here regarding DatePickers popping up for <code>EditText</code> but I've had problems getting it working.</p>
  
  <p>I've seen examples where you can use <code>setOnClickListener</code> or <code>setOnTouchListener</code>, which one would be the best?</p>
  
  <p>Also I've seen a couple of different designs to the <code>DatePicker</code>, how do you change the design?</p>
  
  <p>Below is my code so far, tried using code from the other examples but couldn't get it working.</p>
  
  <pre><code>import android.app.Activity;
  import android.os.Bundle;
  import android.widget.EditText;
  import android.widget.TextView;
  
  
  /**
   * Created by MOS182 on 7/21/13.
   */
  public class AddReminder extends Activity {
  
      TextView Title, Amount, PaymentDate, ReminderDate, ReminderTime;
      EditText eTitle, eAmount, ePaymentDate, eReminderDate, eReminderTime;
  
      @Override
      protected void onCreate(Bundle savedInstanceState)
      {
  
  
          super.onCreate(savedInstanceState);
          setContentView(R.layout.reminders_dialog);
          initializeVariables();
      }
  
  
  
      private void initializeVariables()
      {
          Title = (TextView) findViewById(R.id.tvTitle);
          Amount = (TextView) findViewById(R.id.tvAmount);
          PaymentDate = (TextView) findViewById(R.id.tvPaymentDate);
          ReminderDate = (TextView) findViewById(R.id.tvReminderDate);
          ReminderTime = (TextView) findViewById(R.id.tvReminderTime);
          eTitle = (EditText) findViewById(R.id.etTitle);
          eAmount = (EditText) findViewById(R.id.etAmount);
          ePaymentDate = (EditText) findViewById(R.id.etPaymentDate);
          eReminderDate = (EditText) findViewById(R.id.etReminderDate);
          eReminderTime = (EditText) findViewById(R.id.etReminderTime);
      }
  
  
  }
  </code></pre>