I\'m using AppCompat to write a material design styled app. Since AppCompat does not affect dialogs, I\'m skinning the dialogs as such:
styles.xml:
In case anyone is still looking for a simple and effective solution, just add this line to your "alertDialog" style:
- @android:color/transparent
P.S. changing this property also affects PreferenceFragment's dialogs on API >= 21, so make sure you are using different styles: with transparent bg for API < 21, and without any changes for API >= 21