title: how to get rounded dialog theme for activity
body: <p>I need to create a activity which should look like as a dialog box with a rounded corners.</p>
  
  <p>For this requirement I set  </p>
  
  <pre><code> android:theme="@android:style/Theme.Dialog" 
  </code></pre>
  
  <p>Now my activity looks like a dialog box but I need its corners to be rounded.</p>
  
  <p>Then I created  xml with  attribute and set this drawable as my activity theme but now my activity not looks like dialog box.</p>
  
  <p>Please suggest me what can be done so that my  activity looks like dialog box with rounded corners. </p>