废话不说 直接上项目地址 [url]https://github.com/chrisbanes/Android-PullToRefresh[/url]
Quick Start [url]https://github.com/chrisbanes/Android-PullToRefresh/wiki/Quick-Start-Guide[/url]
行为外观定制 [url]https://github.com/chrisbanes/Android-PullToRefresh/wiki/Customisation[/url]
[quote]ptrAdapterViewBackground. Background to the AdapterView.
ptrHeaderBackground. Background of the Header/Footer Views.
ptrHeaderTextColor. Text Colour of the top line of text in the Header/Footer Views.
ptrHeaderSubTextColor. Text Colour of the bottom line of text in the Header/Footer Views.
ptrMode. Sets the Mode in which the Views will operate. Values are either pullDownFromTop, pullUpFromBottom or both. Defaults to pullDownFromTop.
ptrShowIndicator. Whether to show the Indicators showing the user whether a Pull-to-Refresh is possible. Defaults to true.
ptrDrawable. Drawable to show in the Header/Footer Views. Defaults to a refresh icon.
ptrOverScroll. Whether OverScroll support is enabled. Only takes affect when running on Android v2.3+ Defaults to true.[/quote]
Quick Start [url]https://github.com/chrisbanes/Android-PullToRefresh/wiki/Quick-Start-Guide[/url]
行为外观定制 [url]https://github.com/chrisbanes/Android-PullToRefresh/wiki/Customisation[/url]
[quote]ptrAdapterViewBackground. Background to the AdapterView.
ptrHeaderBackground. Background of the Header/Footer Views.
ptrHeaderTextColor. Text Colour of the top line of text in the Header/Footer Views.
ptrHeaderSubTextColor. Text Colour of the bottom line of text in the Header/Footer Views.
ptrMode. Sets the Mode in which the Views will operate. Values are either pullDownFromTop, pullUpFromBottom or both. Defaults to pullDownFromTop.
ptrShowIndicator. Whether to show the Indicators showing the user whether a Pull-to-Refresh is possible. Defaults to true.
ptrDrawable. Drawable to show in the Header/Footer Views. Defaults to a refresh icon.
ptrOverScroll. Whether OverScroll support is enabled. Only takes affect when running on Android v2.3+ Defaults to true.[/quote]