title: How to make Activity, not covering full screen
body: <p>I want my activity to take smaller area of the screen e.g. toast doesn't cover all of the screen, it is just shown over other things and rest of the contents can be seen behind the toast. But it's a dialog, and I want my screen to be shown above other things e.g. above Home Screen. Below is the idea that is in my mind.</p>
  
  <p><img src="https://i.stack.imgur.com/MDQ92.jpg" alt="Activity Taking Smaller Area of the Screen"></p>
  
  <p>Kindly, guide me if it is even possible. If possible then show me the right path.<br>
  Thanks.</p>