Open mauscoelho opened 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?
I am using the library com.android.support:design. the emulator worked for api 16, and did not work for api 22
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...
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"/>
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.
I added the view of FloatingActionButton and was wrong, any tips on how to fix?