I'm trying to setStyle to my custom dialog that extends dialogFragment, constructor looks like:
MyCustomDialog() {
super();
setStyle(STYLE_NO_FRAME, 0);
}
and I still see the frame around my layout.
Does anyone have any ideas?
According to the setStyle()
description in the DialogFragment documentation:
Calling this after the fragment's Dialog is created will have no effect
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With