Mastering Development

How do I make a Dialog Fragment’s background invisible?

I used youtuber Coding in Flow’s method to create a custom dialog. I’ve been trying all day to make the dialog’s background transparent. I’ve used every single method I’ve found online. Non worked. Here’s how it goes: First here’s the Dialog layout layout_dialog.xml : <RelativeLayout xmlns:android="" xmlns:app="" android:layout_width="match_parent" android:layout_height="match_parent" > <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="50dp" android:background="@drawable/dialog_background"> […]