HarlonWang / AVLoadingIndicatorView

DEPRECATED
9.75k stars 1.89k forks source link

It is not working in Swipe Refresh Layout. #116

Open sagar117 opened 6 years ago

sagar117 commented 6 years ago

<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".Frag1">

<android.support.v7.widget.RecyclerView
    android:id="@+id/recylcerView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_anchor="@+id/include"
    app:layout_anchorGravity="top|center" >

</android.support.v7.widget.RecyclerView>

    <com.wang.avi.AVLoadingIndicatorView
        android:id="@+id/avi"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:visibility="visible"
        app:indicatorColor="#a33535"
        app:indicatorName="BallZigZagDeflectIndicator"
        tools:layout_editor_absoluteX="168dp"
        tools:layout_editor_absoluteY="215dp"
        tools:ignore="MissingConstraints" />

</android.support.v4.widget.SwipeRefreshLayout>