title: Create a AlertDialog in Android with custom xml view
body: <p><img src="https://i.stack.imgur.com/Ktd4G.jpg" alt="enter image description here"></p>
  
  <p>How to create a dialog like this in Android?
  My idea is to create a custom xml view and inflate it into the dialog. 
  any other suggestions? 
  and what is the "drag line" at the middle of the dialog called? I really need that.</p>
  
  <p>Thanks in advance</p>