amlcurran / ShowcaseView

[Archived] Highlight the best bits of your app to users quickly, simply, and cool...ly
5.6k stars 1.29k forks source link

ShowcaseView appears under Popup #415

Open Gyoko opened 8 years ago

Gyoko commented 8 years ago

I'm trying to use ShowcaseView in my Popup. I use the following code:


tutorialSV = new ShowcaseView.Builder(this.getActivity())
                .setTarget(new ViewTarget(layout.findViewById(R.id.Image)))
                .withHoloShowcase()
                .hideOnTouchOutside()
                .setStyle(R.style.CustomShowcaseTheme)
                .setContentTitle("Look at the picture")
                .build();
        tutorialSV.hideButton();

My problem's that ShowcaseView appears below Popup. I looked around and found .useDecorViewAsParent(), but it did not help.