title: Create shadow for dialog
body: <p>I want to create a shadow for my custom dialog is that possible ?</p>
  
  <pre><code>GhazalActivity.public void viewShareMenu() {
          Dialog share=new Dialog(this,R.style.shareDialogStyle);
          share.setContentView(R.layout.share_popup_layout);
          LayoutParams params = share.getWindow().getAttributes();
          params.y = this.getResources().getDimensionPixelSize(R.dimen.topbar_height);
          params.gravity=(Gravity.RIGHT|Gravity.TOP);
          share.getWindow().setAttributes(params);
          share.show();
  }
  </code></pre>
  
  <p>styles.xml :</p>
  
  <pre><code>&lt;style name="shareDialogStyle" parent="android:style/Theme.Dialog"&gt;
      &lt;item name="android:windowBackground"&gt;@color/transparent&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="android:fadeEnabled"&gt;true&lt;/item&gt;
      &lt;item name="android:fadeDuration"&gt;1500&lt;/item&gt;
      &lt;item name="android:shadowColor"&gt;@color/temp&lt;/item&gt;
      &lt;item name="android:shadowDx"&gt;0&lt;/item&gt;
      &lt;item name="android:shadowDy"&gt;5&lt;/item&gt;
      &lt;item name="android:shadowRadius"&gt;10&lt;/item&gt;
      &lt;item name="android:backgroundDimEnabled"&gt;false&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>share_popup_layout.xml :</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="150dip"
      android:background="@color/bg_Ghazal_share_menu"
      android:layout_height="wrap_content"
      android:orientation="vertical" &gt;
  
      &lt;Button
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:gravity="right"
          style="@style/shareDialogButtons"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>is there any solution for doing that ?</p>