setProgressViewOffset
The refresh indicator starting and resting position is always positioned near the top of the refreshing content. This position is a consistent location, but can be adjusted in either direction based on whether or not there is a toolbar or actionbar present.
Note: Calling this will reset the position of the refresh indicator to start
.
Parameters
scale
Set to true if there is no view at a higher z-order than where the progress spinner is set to appear. Setting it to true will cause indicator to be scaled up rather than clipped.
start
The offset in pixels from the top of this view at which the progress spinner should appear.
end
The offset in pixels from the top of this view at which the progress spinner should come to rest after a successful swipe gesture.