backpack-android icon indicating copy to clipboard operation
backpack-android copied to clipboard

Question: Warning message about MaterialButton in Logcat

Open nikiJava opened this issue 2 years ago • 0 comments

MaterialButton manages its own background to control elevation, shape, color and states. Consider using backgroundTint, shapeAppearance and other attributes where available. A custom background will ignore these attributes and you should consider handling interaction states such as pressed, focused and disabled

Could you explain please, why don't you use xml backgroundTint or shapeAppearance to save some native button behaviour?

nikiJava avatar Feb 16 '23 09:02 nikiJava