ChartProgressBar-Android
ChartProgressBar-Android copied to clipboard
Resources$NotFoundException: Resource ID #0x0
Getting this error:
Process: com.spesa.app, PID: 12699 android.content.res.Resources$NotFoundException: Resource ID #0x0 at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:259) at android.content.res.Resources.getDrawableForDensity(Resources.java:920) at android.content.res.Resources.getDrawable(Resources.java:860) at android.content.res.Resources.getDrawable(Resources.java:835) at com.hadiidbouk.charts.ChartProgressBar.build(ChartProgressBar.java:131)
at line:
mChart.build()
I have added ic_pin.xml in the drawables folder
i have the same problem , even after i added ic_pin.xml
This library is not maintained anymore. I don't think we'll get any help.
oh ! do you know any other library similar to this one?
https://github.com/PhilJay/MPAndroidChart .. This one is pretty good.
I solved it by adding:
app:hdPinDrawable="@drawable/ic_pin"
Code for drawable/ic_pin.xml https://github.com/hadiidbouk/ChartProgressBar-Android/blob/master/sample/src/main/res/drawable/ic_pin.xml
