title: How to Make Activity Which Appear on Half Screen?
body: <p>i want to make an activity which appears on half screen <strong>(JUST LIKE DIALOG BOX BUT NOT DIALOG BOX)</strong> i want to add some text,switch buttons and labels on it ?</p>
  
  <p>i tried Dialog Boxes but it does not satisfy me so now i want to resize activity. <strong>HELP</strong></p>
  
  <p>Thanks in advance</p>