I'm working on a camera app that simply takes pictures. I've decided to go with a FloatingActionButton anchored to a bottom app bar for the camera capture action. Everything works great, however I'm having a bit of difficulty with the FloatingActionButton itself. When I press and hold the button there is a shadow with a hexagon that appears. I don't want this animation at all. How do I remove this?
Here are images of the exact problem: The Issue
Here is the code:
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/capture_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@android:color/transparent"
android:clickable="true"
android:contentDescription="@string/shutter"
android:focusable="true"
android:soundEffectsEnabled="true"
android:tint="@color/white"
app:backgroundTint="@color/white"
app:borderWidth="3dp"
app:elevation="0dp"
app:fabCustomSize="90dp"
app:rippleColor="@null"
android:scaleType="fitXY"
app:layout_anchor="@id/bottom_app_bar" />