question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MaterialShowcaseView rendered behind DialogFragment

See original GitHub issue

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).

photo_2015-12-11_15-48-09

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

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
androidddwcommented, Mar 15, 2018

source_code add_code Add three method for dialog and dialogfragment ,but the most important is use specific dialog style

0reactions
ahmadmssmcommented, Oct 5, 2018

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

ShowcaseView on top of DialogFragment - Stack Overflow
I am using ShowcaseView in an Android App. I want to be able to display the ShowcaseView on top of a DialogFragment ....
Read more >
Displaying dialogs with DialogFragment - Android Developers
To create a DialogFragment , first create a class that extends DialogFragment , and override onCreateDialog() , as shown in the following ...
Read more >
NewsDetailImageDialogFragment.java example - Javatips.net
ShowcaseView is rendered behind the DialogFragment //TODO check https://github.com/deano2390/MaterialShowcaseView/issues/51 for updates new ...
Read more >
gis嵌入netlogo - CSDN
PointCNN - A simple and general framework for feature learning from point clouds. segmenters_lib - The LiDAR segmenters library, for segmentation-based ...
Read more >
Customizing Dialogs with DialogFragment – - Dartmouth
Dialog fragments embed the dialog lifecycle which control the fragment and the rendered Dialog's behavior. DialogFragment contains a Dialog object, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found