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

No resource identifier found for attribute 'sparkbutton_inactiveImage' #2

Closed
ShaishavGandhi opened this issue Jul 12, 2016 · 3 comments

Comments

@ShaishavGandhi
Copy link

Somehow, adding the app:sparkbutton_inactiveImage property in XML causes my whole project to break down. I get the above mentioned error. No amount of project cleaning and building changes it. Any known issues?

My Code :

<com.varunest.sparkbutton.SparkButton
android:id="@+id/spark_button"
android:layout_width="40dp"
android:layout_height="40dp"
app:sparkbutton_activeImage="@drawable/ic_info_black_24dp"
app:sparkbutton_inactiveImage="@drawable/ic_info_outline_white_24dp"/>

The drawables are present in my project

@varunest
Copy link
Owner

I think its typo error. Make sure you are using :

app:sparkbutton_inActiveImage

and not

app:sparkbutton_inactiveImage

@varunest
Copy link
Owner

I see, i've made the same mistake in the readme as well. Have fixed it. Thanks.

@ShaishavGandhi
Copy link
Author

Awesome. Works now :)

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

No branches or pull requests

2 participants