Effect preview:
XML layout
<com.handmark.pulltorefresh.library.pulltorefreshlistview xmlns:android= "http://schemas.android.com/apk/res/ Android " xmlns:ptr=" Http://schemas.android.com/apk/res-auto " android:layout_width=" Fill_parent " android:layout_height= "Fill_parent" android:divider= "#00000000" android:cachecolorhint= "#00000000" android:listselector= "#00000000" android:fastscrollenabled= "true" ptr:ptrheadertextcolor= "@color/ Gray " <span style=" color: #ff0000; " >ptr:ptranimationstyle= "Louisanimationstyle" </span> />
Lib underlying configuration
The Custom animation style is configured inside
The rest will be used in the normal usage of this library.
Modified Lib Library download:
Copyright NOTICE: This article is "Louisgeek" original article, reprint please indicate the source!
Android-pulltorefresh using GIF motion diagram in pull-down loading