Używam supportv4: 22.0.0 do pracy z SwipeRefreshLayout. Działa dobrze, ale pokazuje zawsze okrągły postęp zamiast postępu w poziomie.SwipeRefreshLayout nie pokazuje poziomego postępu
I został dołączony zrzut ekranu dla lepszego zrozumienia
mam ten
Ale chcę się ten
kod używam w Układ
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ptr_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<ListView
android:id="@+id/lv_news_feed_details"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="#dbdfea"
android:dividerHeight="1dp"
android:cacheColorHint="@null"
android:listSelector="#00000000"
/>
</android.support.v4.widget.SwipeRefreshLayout>
Java klasa