我正在使用 android 中的 FAB,并且我增加了 Src 图像大小以覆盖 FAB,但是现在每当我单击 FAB 时,波纹效果都会显示在图像后面而不是其上方,这不会让人感觉 FAB 被单击
我的 FAB 代码
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:maxImageSize="@dimen/_130sdp"
android:layout_gravity="center|bottom"
android:contentDescription="@string/app_name"
app:srcCompat="@drawable/ic_radial_gradient"
app:backgroundTint="@color/white"
app:elevation="0dp"
app:layout_anchor="@id/bottomAppBar"
app:tint="@null"/>