MaterialShowcaseView icon indicating copy to clipboard operation
MaterialShowcaseView copied to clipboard

Dismiss ShowCaseView with only click target

Open iman2420 opened this issue 7 years ago • 3 comments

I couldn't find a way to allow the user to dismiss the showcase by clicking target and hide dismiss button.

iman2420 avatar Jul 23 '17 19:07 iman2420

Same issue here.

sajadmaster avatar Sep 19 '17 05:09 sajadmaster

MaterialShowCaseView showCaseView = new MaterialShowcaseView.Builder(activity)
                .setTarget(targetView)
                .setContentText("Context text goes here")
                .setTargetTouchable(true)   // this is important
                .setDismissOnTargetTouch(true)   // this is important
                .build();

and remember to disable your button (targetView) because it calls onClick and you don't want that.

mslalith avatar Oct 12 '17 03:10 mslalith

What about sequence? @mslalith

LutfiTekin avatar Feb 02 '18 10:02 LutfiTekin