user2468425
user2468425

Reputation: 419

ShowcaseView is shown under the ActionBar

As you can see, the ShowcaseView appears under the ActionBar

enter image description here

Can anyone point out the problem here?

Upvotes: 1

Views: 109

Answers (1)

Alex Curran
Alex Curran

Reputation: 8828

If you're using ShowcaseView 5.3.0 or later, this is the new default behaviour (as users are now expected to use AppCompatActivity with a Toolbar).

You'll want to add this line to your ShowcaseView.Builder creation:

builder.useDecorViewAsParent()

Which should fix the issue!

Upvotes: 4

Related Questions