I\'m trying to use a FAB but the icon inside is placing at bottom right of the button:
FAB with icon not centered
This is the FAB definition in the xml:
This seems to be a bug in the Design Support Library v28.0.0.
I could workarround this by setting the scaleType programmatically.
In your case in the Java/Kotlin Code:
centerLocationButton.setScaleType(ImageView.ScaleType.CENTER)