title: Remove alert dialog border in custom Dialog
body: <p>In my application i am using custom dialog .my dialog have rounded rectangle border and i can not remove that.please help me to set style for that to remove border. Thanks</p>
  
  <pre><code>public class myDialog extends Dialog
      {
          private String mMessage = "";
  
          public myDialog(Context context, String message)
          {
              super(context);
              requestWindowFeature(Window.FEATURE_NO_TITLE);
              View v = getLayoutInflater().inflate(R.layout.dialog, null);
              mMessage = message;
              setCancelable(false);
              setCanceledOnTouchOutside(false);
              setContentView(v);
              getWindow().setLayout(300,150);
              getWindow().setBackgroundDrawableResource(R.);
          }
      }
  </code></pre>
  
  <p>My dialog cutom Layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@drawable/dialog"
                &gt;
  &lt;/LinearLayout&gt;
  </code></pre>