You need to sign in or sign up before continuing.
Use resource methods.
- Use the drawable resource methods, whose compatibility implementations support vector drawables on older API levels.
- Use
AppCompatResources.getDrawable()
.
AppCompatResources.getDrawable()
.