title: activity as dialog in android
body: <p>I want to use an <strong><code>activity as dialog</code></strong> and i made the theme of the activity as dialog &amp; i succeed.
  but
  i have the problem here is when i click outside of the activity 
  its automatically get closed &amp; the previous activity get started..</p>
  
  <p>i tried a thing to make transparent  parent layout it does not look like a dialog..</p>
  
  <p>i want to use this activity to create new account in my application as it has only 3 fields so in tablet it looks large space unused... so i want to use activity as dialog.....</p>
  
  <p>thenx in advance...!!!
  examples will be appreciated..!!!!!</p>