title: setSoftInputMode for a Dialog to not hide EditText while typing?
body: <p>I have a Custom Dialog that has an EditText at the bottom of the view. When I select the EditText, the keyboard comes up but hides the EditText within the Dialog..</p>
  
  <p>I know that you can use windowSoftInputMode for an activity and the Reference says you can use 
  Window.setSoftInputMode() 
  for non activities.. But how to do this???</p>
  
  <p><a href="http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html" rel="nofollow noreferrer">Reference</a></p>
  
  <p>I tried doing this
  <a href="https://stackoverflow.com/questions/4181025/getting-keyboard-to-appear-without-having-to-click-on-edittext">Getting Keyboard To Appear Without Having To Click on EditText</a></p>
  
  <p>But after </p>
  
  <p>Dialog.show(); </p>
  
  <p>i placed</p>
  
  <p>getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);</p>
  
  <p>But nothing works..
  Help Thanks</p>