deano2390 / MaterialShowcaseView

A Material Design themed ShowcaseView for Android
Apache License 2.0
2.72k stars 526 forks source link

Showcase filter is clipped at the bottom of dialog fragment #164

Open ahmadmssm opened 5 years ago

ahmadmssm commented 5 years ago

Hi all,

I used this library to apply the idea of in app hints but when i applied it on a Dialog fragment, things got missed up at the bottom (Please check the image).

I used the answer in this link but with no help screenshot_1538777431

Any suggestions or solutions would be much appreciated.

Thanks in advance.

louiskirsch commented 5 years ago

Same problem here with a dialog theme on an activity.

mhadikz commented 5 years ago

I have the same problem when I'm using TabLayout

kaminiksharma commented 4 years ago

Hi Guys. if you customised the library then you just need to set bottom margins to zero in setTarget() method. class MaterialShowcaseView.java. It will perfectly work.

Happy coding :)

kaminiksharma commented 4 years ago

I have the same problem when I'm using TabLayout

Hi Guys. if you customised the library then you just need to set bottom margins to zero in setTarget() method. class MaterialShowcaseView.java. It will perfectly work.

Happy coding :)

HedAurabesh commented 4 years ago

Coming in a bit late, but another way to do this without altering the code is to simply set MaterialShowcaseView.Builder.renderOverNavigationBar() or ShowcaseConfig.setRenderOverNavigationBar(boolean) to true.

Either will disable the margin that is left by MSV for a potential navbar -- even if your particular view has none.