HoloEverywhere icon indicating copy to clipboard operation
HoloEverywhere copied to clipboard

Slider addon plugin -> Ressources missing

Open janrenz opened this issue 12 years ago • 0 comments

If i add the add Slider Addon to my project i can access the classes, but not some ressources as it seems. I added the plugin like this

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.7.+'
        classpath 'org.holoeverywhere:plugin:0.2.+'
    }
}

apply plugin: 'holoeverywhere'
apply plugin: 'android'

repositories {
    mavenCentral()
}
holoeverywhere {
    addons {
        create 'preferences'
        create 'slider'
    }
}

If i now try to add

    @Addons(AddonSlider.class)

to my Activity and run the app i get the following error:

      Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f010082 a=-1}
        at android.content.res.Resources.loadDrawable(Resources.java:2063)
        at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
        at android.view.View.<init>(View.java:3364)
        at android.view.ViewGroup

which is referring to sliderMenuPanelBackground.

Any help is welcome.

janrenz avatar Jan 03 '14 08:01 janrenz