As you can see in the attached screen shot, on my Nexus 4 the refresh spinner (progress bar) arrow ends gets cut off. I suspect the view is smaller than the image.

enter image description here


We moved onto a new pull to refresh library which fixes this issue.


This looks like it was caused by this commit in the PullToRefresh library. The refresh asset got cropped down to the exact bounds of the image, and since it's not square, it doesn't fit when rotated.

I've created updated assets that fix this that can be downloaded here. Either:

a) Merge these with the PullToRefresh library res folder

b) Put them in your project's local resources and set the ptrDrawable attribute on the PullToRefreshListView to reference them.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .