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

Attribute "src" has already been defined #207

Closed
ruijun opened this issue Apr 21, 2016 · 2 comments
Closed

Attribute "src" has already been defined #207

ruijun opened this issue Apr 21, 2016 · 2 comments

Comments

@ruijun
Copy link

ruijun commented Apr 21, 2016

@davemorrissey
Hello ! When I add com.davemorrissey.labs:subsampling-scale-image-view:3.5.0 as a dependency in my build.gradle file. it appears this error:

Attribute "src" has already been defined

@jklwan
Copy link

jklwan commented Apr 25, 2016

<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" app:src="@drawable/img"/>

this can work。

@davemorrissey
Copy link
Owner

That seems like a good solution. I've not seen this problem myself, it may be a conflict with another library.

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