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

One of Inactive/Active Image Resources are required!! #19

Open
stovberpv opened this issue Jun 26, 2017 · 3 comments
Open

One of Inactive/Active Image Resources are required!! #19

stovberpv opened this issue Jun 26, 2017 · 3 comments

Comments

@stovberpv
Copy link

stovberpv commented Jun 26, 2017

    <com.varunest.sparkbutton.SparkButton
        android:id="@+id/spark_button"
        android:layout_width="40dp"
        android:layout_height="40dp"
        app:sparkbutton_activeImage="@drawable/ic_edit_black_48dp"
        app:sparkbutton_inActiveImage="@drawable/ic_edit_white_48dp"
        app:sparkbutton_iconSize="40dp"
        app:sparkbutton_primaryColor="@color/primary_color"
        app:sparkbutton_secondaryColor="@color/secondary_color" />

image

@kmno
Copy link

kmno commented Jul 5, 2017

i have same issue!

Exception Details java.lang.IllegalArgumentException: One of Inactive/Active Image Resources are required!!   at com.varunest.sparkbutton.SparkButton.init(SparkButton.java:121)   at com.varunest.sparkbutton.SparkButton.(SparkButton.java:68)   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)   at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)   at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)   at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)   at android.view.LayoutInflater.rInflate(LayoutInflater.java:834)   at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)   at android.view.LayoutInflater.inflate(LayoutInflater.java:518)   at android.view.LayoutInflater.inflate(LayoutInflater.java:397)

@varunest
Copy link
Owner

varunest commented Jul 5, 2017

Hey can you let me know the version of SparkButton you are using. I will check it out myself.

@kmno
Copy link

kmno commented Jul 5, 2017

com.github.varunest:sparkbutton:1.0.5

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

3 participants