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
If using my custom view, with some attributes (like gravity, maxLines, etc.) in the XML layout file and set some style for it using Paris lib, all these attributes are getting reset even when they are not in the new style.
If I set a new style using this line of code textViewFeedback.style(R.style.Headline1), attributes like gravity are getting overriden even if I do not have that field in my new style Headline1.
Is there a way to preserve these values?
P.S. I actually have more complex logic within the custom view, where I set the styles in the init block, for some cases, but I do not use any custom attributes.
The text was updated successfully, but these errors were encountered:
If using my custom view, with some attributes (like gravity, maxLines, etc.) in the XML layout file and set some style for it using Paris lib, all these attributes are getting reset even when they are not in the new style.
Example:
If I set a new style using this line of code
textViewFeedback.style(R.style.Headline1)
, attributes like gravity are getting overriden even if I do not have that field in my new styleHeadline1
.Is there a way to preserve these values?
P.S. I actually have more complex logic within the custom view, where I set the styles in the init block, for some cases, but I do not use any custom attributes.
The text was updated successfully, but these errors were encountered: