Skip to content

自定义属性请添加前缀 -> Error:(436) Attribute "radius" already defined with incompatible format. #1

@TakWolf

Description

@TakWolf
app:default_color="#cdcdcd"
app:distance="800dp"
app:distanceType="BY_LAYOUT"
app:indicatorType="LINE"
app:length="24dp"
app:radius="8dp"
app:selected_color="#FF23EEF5"

自定义属性请添加前缀,类似于 length 和 radius,特别容易与其他类库冲突。

建议修改为:

app:vpi_length="24dp" 
app:vpi_radius="8dp"

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