Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Warning message about MaterialButton in Logcat #1470

Open
nikiJava opened this issue Feb 16, 2023 · 0 comments
Open

Question: Warning message about MaterialButton in Logcat #1470

nikiJava opened this issue Feb 16, 2023 · 0 comments

Comments

@nikiJava
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant