I want to use NumberProgressBar library in my project.
I added it in gradle in this way:
dependencies {
compile 'com.daimajia.numberprogressbar:library:1.2@aar'
}
It have predefined styles, and it is said that you can easily use it like that:
<com.daimajia.numberprogressbar.NumberProgressBar
android:id="@+id/number_progress_bar"
style="@style/NumberProgressBar_Default"
/>
I want to write own style based on library style by I can't access it from my styles.xml file:
<style name="CustomProgressBar" parent="NumberProgressBar_Beauty_Red"/>
Error:(2220) Error retrieving parent for item: No resource found that matches the given name 'NumberProgressBar_Beauty_Red'.
I tried few different ways to access to it, using namespaces but it still don't work.
Is it even possible to inherit style from library? What is correct way to access of library styles?