title: Not able to hide Soft Keyboard for EditTextPreference
body: <p>I have an EditText in a custom xml layout which get loaded dynamically(setView) in an EditTextPreference. Everything works well. Now when the preference is clicked and the editPreference dialog shows up, so does the soft keyboard. I dont want the soft keyboard to show up by default!</p>
  
  <p>This is what I have tried. Should have worked :(!</p>
  
  <pre><code>public class ReportBugPreference extends EditTextPreference {
  
  
          @Override
          protected void onPrepareDialogBuilder(AlertDialog.Builder builder) {
              super.onPrepareDialogBuilder(builder);  
  
              View viewBugReport = LayoutInflater.from(ctx).inflate(R.layout.preference_report_bug,null);
              builder.setView(viewBugReport);
  
              EditText edttxtBugDesc = (EditText) viewBugReport.findViewById(R.id.bug_description_edittext);
              //edttxtBugDesc.clearFocus();
  
              InputMethodManager inputManager = (InputMethodManager) ctx.getSystemService(Context.INPUT_METHOD_SERVICE);
              inputManager.hideSoftInputFromWindow(edttxtBugDesc.getApplicationWindowToken(), 0);
  
          }
  
  }
  </code></pre>