You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I was looking through the MaterialButton code and documentation searching for a way to know at runtime what style has been applied to a MaterialButton from XML, i.e: I would like to know if the button is using @style/Widget.MaterialComponents.Button.TextButton or @style/Widget.MaterialComponents.Button.OutlinedButton / ?attr/materialButtonOutlinedStyle or the default button style.
Is this possible?
The text was updated successfully, but these errors were encountered:
Hey,
I was looking through the
MaterialButton
code and documentation searching for a way to know at runtime whatstyle
has been applied to aMaterialButton
from XML, i.e: I would like to know if the button is using@style/Widget.MaterialComponents.Button.TextButton
or@style/Widget.MaterialComponents.Button.OutlinedButton
/?attr/materialButtonOutlinedStyle
or the default button style.Is this possible?
The text was updated successfully, but these errors were encountered: