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

duplicate value for resource 'attr/layout_gravity' with config '' #28

Open
helloV7 opened this issue Apr 15, 2019 · 4 comments
Open

duplicate value for resource 'attr/layout_gravity' with config '' #28

helloV7 opened this issue Apr 15, 2019 · 4 comments

Comments

@helloV7
Copy link

helloV7 commented Apr 15, 2019

Android resource compilation failed
duplicate value for resource 'attr/layout_gravity' with config ''
resource previously defined here.

@JobeReeves
Copy link

I‘ve also met this problem
attribute 'layout_gravity' is conflit with the system's attribute,which cause this error

@danielzwhe
Copy link

I've also met this problem, by Android Studio 3.4.1, Gradle Plugin 3.4.1, Gradle 5.1.1

@karthi72
Copy link

karthi72 commented Jun 6, 2020

Fix it easy !!
Because if you are using recyclerview and gridlayoutmanager in your application,the layout manager attr file includes "layout_gravity" property,So do a import manually that library part to your code and change the "layout_gravity" parameter used in shadw view library to your own name and don't forget to change the name as well in the import of the "shadowView" class.

Enjoy!!

@danielzwhe
Copy link

Fix it easy !!
Because if you are using recyclerview and gridlayoutmanager in your application,the layout manager attr file includes "layout_gravity" property,So do a import manually that library part to your code and change the "layout_gravity" parameter used in shadw view library to your own name and don't forget to change the name as well in the import of the "shadowView" class.

Enjoy!!

WOW, thanks a lot

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

4 participants