shadow icon indicating copy to clipboard operation
shadow copied to clipboard

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

Open helloV7 opened this issue 5 years ago • 4 comments

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

helloV7 avatar Apr 15 '19 03:04 helloV7

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

JobeReeves avatar May 30 '19 07:05 JobeReeves

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

danielzwhe avatar Jun 03 '19 03:06 danielzwhe

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!!

karthi72 avatar Jun 06 '20 12:06 karthi72

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

danielzwhe avatar Aug 05 '20 08:08 danielzwhe