loopeer / shadow

Deprecated because of the performance not fine. Android custom shadow view, can replace your CardView
1.37k stars 142 forks source link

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

Open helloV7 opened 5 years ago

helloV7 commented 5 years ago

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

JobeReeves commented 5 years ago

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

danielzwhe commented 5 years ago

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

karthi72 commented 4 years ago

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 commented 4 years ago

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