Usually icons are set for floating action buttons, but I need to set an image, so I can make a circular image.
I added it to the project (using Android Studio-> New
With the Material Components library, according to the doc, you can use the attribute app:maxImageSize.
app:maxImageSize
You can use a custom dimension, but you can also refer to these defined dimensions.
40dp 56dp
Just use:
Here the result with the standard dimension (24dp) and the design_fab_size_normal.
24dp
design_fab_size_normal