Skip to content

emm.我这儿添加依赖提示错误 #1

@Xbs233

Description

@Xbs233

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里的自定义属性也是写了的

----From一学Android不久的小白

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions