techery / ProperRatingBar

Inspired by stock android RatingBar. Simpler, has features that original lacks.
409 stars 70 forks source link

it dose not vector drawable #29

Open a-najar opened 7 years ago

a-najar commented 7 years ago

android.view.InflateException: Binary XML file line #79: Error inflating class io.techery.properratingbar.ProperRatingBar at android.view.LayoutInflater.createView(LayoutInflater.java:613) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352)

brittonjg commented 7 years ago

It would be good to fix this. I could always create a PR to sort out the issue. I am pretty sure it is a cause of updating the build.gradle file and ProperRatingBar.java to use the ContextCompat.getDrawable. Should do the trick.