浮动动作按钮中的边框
答
你应该只是有黑f
作为一个单独的绘制,并设置为FAB的来源。否则,如果你想使用一个已经有一个圆形背景的绘制,都不要使用FAB,只是把它放在一个ImageButton
,具有透明背景:
android:background="#0000"
app:srcCompat="@mipmap/action_fb"
稍微偏离主题,但你应该只在屏幕上有一个FAB。 https://material.io/guidelines/components/buttons-floating-action-button.html – zsmb13