deano2390 / MaterialShowcaseView

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

wrong place #10

Open mauscoelho opened 9 years ago

mauscoelho commented 9 years ago

I added the view of FloatingActionButton and was wrong, any tips on how to fix?

screen shot 2015-08-19 at 2 10 51 pm

deano2390 commented 9 years ago

Can you provide a sample project that reproduces the issue? I only ask because i'm using with a FAB with no problems myself. Which FAB library are you using?

mauscoelho commented 9 years ago

I am using the library com.android.support:design. the emulator worked for api 16, and did not work for api 22

MFlisar commented 9 years ago

I had the same problem. Try adding a background color to the view to check, if the FAB is really all of the view.

In my case, the fab had a transparent background in which the sub items where displayed in if I click the FAB...

But I did not use the one from the support library though...

mauscoelho commented 9 years ago

this is my FAB button

<android.support.design.widget.FloatingActionButton
        android:id="@+id/btnParticipateNow"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:clickable="true"
        android:src="@mipmap/ic_instagram_white"
        app:backgroundTint="@color/primaryColor"
        app:fabSize="normal"
        app:borderWidth="0dp"
        android:layout_marginBottom="@dimen/fab_margin_bottom"
        android:layout_marginEnd="@dimen/fab_margin_right"
        android:layout_marginRight="@dimen/fab_margin_right"
        app:layout_anchor="@id/nestedScrollView"
        app:layout_anchorGravity="bottom|right|end"
        app:layout_scrollFlags="scroll|enterAlways"/>
deano2390 commented 9 years ago

I tried a sample project with the official android.support.design.widget.FloatingActionButton and it works fine.

It must be a quirk of what you are doing. I really need a project that reproduces the issue to help any more.