Skip to content

Colors not found; can not compile #31

@Sub-Zero-1

Description

@Sub-Zero-1

I have added the layout like in your example:

<com.github.jlmd.animatedcircleloadingview.AnimatedCircleLoadingView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/circle_loading_view"
    android:layout_width="250dp"
    android:layout_height="250dp"
    android:background="@color/background"
    android:layout_centerInParent="true"
    app:animCircleLoadingView_mainColor="@color/main_color"
    app:animCircleLoadingView_secondaryColor="@color/secondary_color"
    app:animCircleLoadingView_textColor="@android:color/white"
    />

Additionaly I added the colors to my color.xml file:

<resources>
  <color name="background">#65828e</color>
  <color name="main_color">#ff9a00</color>
  <color name="secondary_color">#BDBDBD</color>
</resources>

Error: It can't find mainColor, secondaryColor and textColor.

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