title: EditText does not display properly in landscape mode when displayed from UI implementing a Service
body: <p><img src="https://i.stack.imgur.com/hbxOu.png" alt="enter image description here"> </p>
  
  <p>I have an application that locks the phone. Implemented Lock screen UI using Service so that user can not access other features of phone if phone is locked. There is an unlock password dialog for entering password to unlock the phone. </p>
  
  <p>The problem is with the edittext of the dialog. In landscape mode it does not look properly.The edittext should become fullscreen with the soft keypad at the bottom.</p>
  
  <p>Pls help.!</p>