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

Add support to vector drawable using AppCompat #392

Merged
merged 3 commits into from
May 27, 2021

Conversation

laggedHero
Copy link
Contributor

Hello all,

We are using Barista and recently something caught our attention: some of our tests (API 23) where failing.

Turns out it was the way drawables are handled.

This project minSDK is 19, which means (by the way of official docs) that we need to use a back compat solution. Even when considering API 23, VectorDrawableCompat docs states that For API 24 and above, this class delegates to the framework's VectorDrawable. For older API version, this class lets you create a drawable based on an XML vector graphic. - using a compat solution would still be needed.

Let me know whatever is needed to get this in the right state.

Thank you.

Copy link
Member

@alorma alorma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@alorma alorma requested a review from a team April 15, 2021 12:40
@Sloy Sloy changed the title Add support to vector drawable using back compat Add support to vector drawable using AppCompat May 27, 2021
@rocboronat
Copy link
Member

Thank you so much, @laggedHero!

@rocboronat rocboronat merged commit 29e669e into AdevintaSpain:master May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants