Open Xbs233 opened 6 years ago
Failed to resolve: com.github.bigmanLau:CardviewFix:1.0.3
还有请问,我把您的代码直接复制到我的工程里面使用。 xml: <com.**.**.**.FixedCardview.CardView android:id="@+id/recy_cardView" android:layout_width="346dp" android:layout_height="wrap_content" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" app:cardCornerRadius="5dp" app:cardElevation="8dp" android:startColor ="#accfff" android:endColor= "#3ff70000"
>
然后把他丢在recyclerview里面显示,阴影并没有颜色的变化emm。这是哪儿设置错了吗, attr里的自定义属性也是写了的
<attr name="topDelta" format="float"/> <attr name="endColor" format="reference|color"/>
----From一学Android不久的小白
<com.**.**.**.FixedCardview.CardView 这个名字写错了吧
Failed to resolve: com.github.bigmanLau:CardviewFix:1.0.3
还有请问,我把您的代码直接复制到我的工程里面使用。 xml: <com.**.**.**.FixedCardview.CardView android:id="@+id/recy_cardView" android:layout_width="346dp" android:layout_height="wrap_content" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" app:cardCornerRadius="5dp" app:cardElevation="8dp" android:startColor ="#accfff" android:endColor= "#3ff70000"
然后把他丢在recyclerview里面显示,阴影并没有颜色的变化emm。这是哪儿设置错了吗, attr里的自定义属性也是写了的