Skip to content

CircleLoadingView not being displayed #21

Description

@NabilEL

Hello,

I can't seem to get the lib to work at all. Nothing is being displayed either in Android Studio preview, and on my phone (OnePlus 3, Android 7.1).
I'm using 1.1.5 version.
Sdk min is 21, compile sdk is 25.

I call startIndeterminate in onCreate();

Here's my xml :

<ProgressBar
    android:id="@+id/progress_bar"
    android:layout_gravity="center"
    android:visibility="gone"
    android:indeterminate="true"
    android:layout_width="200dp"
    android:layout_height="200dp" />

<com.github.jlmd.animatedcircleloadingview.AnimatedCircleLoadingView
    android:id="@+id/circle_loading_view"
    android:layout_width="250dp"
    android:layout_height="250dp"
    android:layout_gravity="center"
    app:mainColor="@color/white"
    app:secondaryColor="@color/colorPrimaryDark"
    app:textColor="@color/colorAccent"
    />

<TextView
    android:text="Loading"
    android:textSize="35sp"
    android:fontFamily="sans-serif-light"
    android:layout_gravity="center"
    android:textColor="@color/white"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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