的Fab按钮,我想我的自定义图标添加到FAB按钮, 我指定它像自定义图像
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:src="@mipmap/ic_custom" />
其显示图标,但没有完全填充晶圆厂,各地留下一定的余量。
我希望我的图标完全占据晶圆厂尺寸和宽度(我的图标是圆形的)
dp中的图标大小是多少? – jitinsharma
我在所有资源中都有图标'xhdpi','xxhdpi','xxxhdpi' –
你试过更大尺寸的图标吗? – jitinsharma