MaterialShowcaseView
MaterialShowcaseView copied to clipboard
MaterialShowcaseView rendered behind DialogFragment
Hey there, great Library so far but I have a problem wich im not able to fix myself. I have a custom DilaogFragment in my App and I'm trying to display a showcaseView on it, but it is always render behind the dialog window (the blue tint around the dialog view).

I tried to bring the view to the front using
MaterialShowcaseView materialShowcaseView = new MaterialShowcaseView.Builder(getActivity())
{...}
materialShowcaseView.bringToFront();
materialShowcaseView.show(getActivity());
and executing the code in a .post(Runnable {}) method but it is still rendered behind the Dialog.
Any ideas how I could possibly fix this?
My project is available at https://github.com/Power-Switch/PowerSwitch_Android
and the specific classes I'm talking about are ConfigureReceiverDialog and ConfigureReceiverDialogPage1NameFragment
:+1: same problem. I think it has something to do with the fact that the showcase view uses the activity's root view to present itself.
:+1: same problem. Any updates on this?
same here!!! Anybody found a workaround?
I am also facing the same problem. Has anyone found any workaround to this?
Love the library except the fact that it renders behind a dialog fragment!
If u want to know how to use on dialog , send eamil to [email protected] . It's inconvenient to write here , sorry.
@androidddw Not sure why it could be "inconvenient" to explain how to do it if you know how... But I agree that it could be very helpful to add a way of putting the showcase on top of everything, including DialogFragments.
Sorry, use "inconvenient"is not very accurate, I just didn't know how to put my answer on. And I'm trying.
@androidddw Ok no problem, I was just very interested in finding a solution, since I use this library mainly for DialogFragments. I don't have enough time (or skills) to search for a workaround, but thanks for trying!
Add three method for dialog and dialogfragment ,but the most important is use specific dialog style
my dialog style has some item,as:

if not :
@Keysaw
@androidddw
Regarding the last screenshot you added, Is there any way to make the mask cover that lower part of the dialog too ??
I already set a custom style like your style but still no change