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

Change background color programmatically (front & rear view) #3

Closed
davideas opened this issue Nov 2, 2015 · 1 comment
Closed

Change background color programmatically (front & rear view) #3

davideas opened this issue Nov 2, 2015 · 1 comment

Comments

@davideas
Copy link
Owner

davideas commented Nov 2, 2015

Color is actually managed by setChildBackgroundDrawable(...) and there isn't a dedicated function only for it.

@davideas
Copy link
Owner Author

davideas commented Nov 3, 2015

Added in 1.1.0
Simple color can be assigned only for inner shapes, for a custom Drawable user should preset it.
Since there are multiple Drawables only the user can change color and transparency.
PorterDuff.Mode can help but it is not the same mode for all Drawables, it depends by the Drawable itself... Maybe in a future release.

@davideas davideas closed this as completed Nov 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant