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
I try to change the style of a button when the user clicks on it (like a checkbox works) but the result is not really what I expected.
I'm using Kotlin and the last stable api for android material
Had the same issue with custom styles.
I have figured out that this is a problem with dot notation. Try to create custom style without dot notation and use it.
Tried creating a custom style definition with no dots and no parent="". Still not working. The button maintains the default styling applied by the theme and completely ignores the style applied.
I try to change the style of a button when the user clicks on it (like a checkbox works) but the result is not really what I expected.
I'm using Kotlin and the last stable api for android material
Here is the xml :
My code :
Before clic :
After clic :
What i expect:
Have any idea why this doesn't work? As we can see something is happening the border changes but not as expected
The text was updated successfully, but these errors were encountered: