D
D
dimasik1002002018-02-05 21:21:02
Java
dimasik100200, 2018-02-05 21:21:02

How to increase icon size in Floating Action Button?

If you set wrap_content values ​​in fab, then the icon will be of normal size. But I have fab sizes 48 by 48 and because of this, the icon is reduced by almost 2 times. How to fix it?
5a78a07d68a8f469132390.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
one pavel, 2018-02-05
@onepavel

tried putting the size directly in weight and height ?

I
ivanboltyshev, 2018-10-30
@ivanboltyshev

Use "fabCustomSize" parameter
app:fabCustomSize="35dp"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question