shadow
shadow copied to clipboard
duplicate value for resource 'attr/layout_gravity' with config ''
Android resource compilation failed duplicate value for resource 'attr/layout_gravity' with config '' resource previously defined here.
I‘ve also met this problem attribute 'layout_gravity' is conflit with the system's attribute,which cause this error
I've also met this problem, by Android Studio 3.4.1, Gradle Plugin 3.4.1, Gradle 5.1.1
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!!
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