I am using ShowcaseView in an Android App. I want to be able to display the ShowcaseView
on top of a DialogFragment
. But for me, the ShowcaseView
is displaying underneath the DialogFragment
.
There are open issues on this subject on github for this project. But I thought that I would ask here as was suggested. This post mentioned that he solved the issue "using a fake activity as a dialogfragment." But I am not sure what that means. Maybe that means that instead of using a DialogFragment
, he used an Activity
and is displaying it as a DialogFragment
? I know that you can set the theme of an activity to be a Dialog in the Manifest: android:theme="@android:style/Theme.Dialog"
.
The other github issues are here and here.
I am using the "legacy" version of ShowcaseView
like this:
ViewTarget target = new ViewTarget(R.id.imageView, getActivity());
ShowcaseView.insertShowcaseView(target, getActivity(), R.string.showcase_title, R.string.showcase_details);