title: Is it possible that when click edittext it will show dialog message?
body: <p>I want to click a edittext and show dialog date so I try</p>
  
  <pre><code>mDateDisplay = (EditText) findViewById(R.id.dateDisplay);
      mDateDisplay.setOnFocusChangeListener(new View.OnFocusChangeListener() {
          @Override
          public void onFocusChange(View v, boolean hasFocus) {
              if (hasFocus) {
                  showDialog(DATE_DIALOG_ID);
              }
          }
      });
  </code></pre>
  
  <p>The dialog will show if mDateDisplay is a button </p>
  
  <p>but I want to use edittext </p>
  
  <p>what should I do?</p>