Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Attribute already defined #76

Open
Paroca72 opened this issue May 11, 2015 · 2 comments
Open

Attribute already defined #76

Paroca72 opened this issue May 11, 2015 · 2 comments

Comments

@Paroca72
Copy link

Hello,

im tring to use your library but i have always this error:
Error:(1) Attribute "shadowDrawable" has already been defined

I use play services: 7.3.0 and it say that attribute is inside wallet_colors.xml

Im just add
compile 'com.wunderlist:sliding-layer:1.1.1'

Thanks
Sam

@y2kshane
Copy link

y2kshane commented Jun 9, 2015

+1

@JlUgia
Copy link
Contributor

JlUgia commented Jun 14, 2015

Hi @Paroca72 and @y2kshane. I have just tried adding the wallet module with 7.3 version and things seem to work ok. How are you accessing the property to set the shadow? Note that if you are setting it in your xml layout you can add a specific namespace for custom components or even the sliding layer itself by defining it at the beginning of the layout. For example:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:slidingLayer="http://schemas.android.com/apk/res-auto"
             ...>

    ...

    <com.wunderlist.slidinglayer.SlidingLayer
             ...
             slidingLayer:shadowDrawable="@color/grey"/>

</FrameLayout>

Is that the way you are doing it? Can you share more details?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants