We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
com.google.android.material.button.MaterialButton
currently to add support of com.google.android.material.button.MaterialButton attrs we need to create custom handle of the attrs:
<declare-styleable name="MyMaterialButton"> <!--region MaterialButton--> <attr name="icon" /> <attr name="iconTint" /> <attr name="strokeColor" /> <attr name="strokeWidth" /> <attr name="backgroundTint" /> <!--endregion--> </declare-styleable>
And create all funcs in the class:
@Attr(R.styleable.MyMaterialButton_icon) override fun setIcon(image: Drawable?) { super.setIcon(image) }
Can you add the library support?
The text was updated successfully, but these errors were encountered:
Any updates on this? It's a current use case in my app.
Sorry, something went wrong.
No branches or pull requests
currently to add support of
com.google.android.material.button.MaterialButton
attrs we need to create custom handle of the attrs:And create all funcs in the class:
Can you add the library support?
The text was updated successfully, but these errors were encountered: