Skip to main content

Pull-to-Refresh Customisable Drawable

·117 words·1 min

Following on from yesterday’s post about making Pull-to-Refresh more discoverable, today I’ve made it a bit more customisable. As you can see above, instead of the standard Android indeterminate spinner we have Andy spinning instead. This drawable is completely customisable by you.

That’s not all as I’ve removed the rotating arrows, and added an effect so that the drawable (in this case Andy) is rotated based on how far you’ll scrolled. It makes more sense when you use it.

If you’d like to test this, I’ve built a new version of the sample app for download here: http://bit.ly/Lou5lv (the GridView sample has the Andy custom drawable).
EDIT: This has now been released into v1.3.0. See here: https://github.com/chrisbanes/Android-PullToRefresh