title: Multi line edittext with imeOptions="actionDone" does not work in an Custom Dialog
body: <p>I want the edittext to be "multiline" at the same time need an "Done" button on the softKeyBoard to hide the softKeyBoard. I have the following code</p>
  
  <pre><code>        &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              &gt;
          &lt;EditText 
              android:id="@+id/etMultiLineDone"
               android:layout_width="fill_parent" 
              android:layout_height="wrap_content" 
              android:scrollHorizontally="false"
              android:inputType="textImeMultiLine"
              android:imeOptions="actionDone"
              android:lines="3"/&gt;
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When I try the above code in</p>
  
  <p>setContentView(R.layout.activity_main); It works as expected</p>
  
  <p>But when I try the same textview in a Custom Dialog it does not give the same functionality. </p>
  
  <pre><code>android:scrollHorizontally="false" - not working
  android:inputType="textImeMultiLine" - not working
  android:imeOptions="actionDone" - working
  android:lines="3" - not working
  
      Dialog d = new Dialog(context);
      d.setTitle("dialog");
      d.setContentView(R.layout.dialog);
      d.show();
  </code></pre>
  
  <p>Help/ suggestions much appreciated. 
  Thank you.</p>