title: Creating a slideUp window over the main activity if a button is clicked
body: <p>I want to create a window which pops up when a button is clicked, in which I can give some buttons to be selected which can be used to provide some data to the main activity. </p>
  
  <p>I tried with Dialog box and Frame layout. Problem with Dialog box is that it doesn't cover the whole screen. Problem with Frame layout using fragment transaction which I am facing is that the main activity's layout is also visible when frame layout comes into picture.</p>
  
  <p>Eg.</p>
  
  <p><a href="https://i.stack.imgur.com/oCZVg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oCZVg.jpg" alt="enter image description here"></a></p>
  
  <p>But when i click on button to show the window from below:</p>
  
  <p><a href="https://i.stack.imgur.com/xUlnq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xUlnq.jpg" alt="enter image description here"></a></p>
  
  <p>ie. the image and START button from the activity is also visible. It should partially cover the activity with my fragment window I have tried with giving background color as white in FrameLayout.</p>