MaterialShowcaseView icon indicating copy to clipboard operation
MaterialShowcaseView copied to clipboard

Floating action button. Showcaseview does not show up. No errors thrown.

Open ThinkingMonkey opened this issue 8 years ago • 3 comments

Showcaseview does not show up. No errors thrown. Below is the code that I am trying to execute.

new MaterialShowcaseView.Builder(this)
  .setTarget(findViewById(R.id.fab_button))
  .setDismissText("GOT IT")
  .setContentText("Click here to search.")
  .setDelay(300) // optional but starting animations immediately in onCreate can make them choppy
  .singleUse(TAG) // provide a unique ID used to ensure it is only shown once
  .show();

ThinkingMonkey avatar May 30 '16 11:05 ThinkingMonkey

i have same problem. any solution ?

RezaOruji avatar Jun 21 '16 07:06 RezaOruji

I had the same problem and made it work using:

        if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            // Put it on top of everything
            showcaseView.setElevation(20);
        }
        showcaseView.show();

Steve-3d avatar Oct 25 '16 15:10 Steve-3d

+1 for the issue, and thank you Steve for the workaround!

instantiator avatar Aug 07 '17 14:08 instantiator