4

is it possible to replace the Icon of the Pull-To-Reload, the circle-arrow, with something else?

Pull-To-Reload Icon

I'd like to have something like a trash-can instead.

Thanks, Georg

Georg
  • 3,664
  • 3
  • 34
  • 75

1 Answers1

3

If you are using the SwipeRefreshLayout, it seems there is no way to change the icon or animation for it yet. You can change the colors for the animation of spinning lines with the setColorSchemeColors method.

Some external pull to refresh libraries do let you do it, like Ultra Pull to Refresh by liaohuqiu. It seems to allow a lot of customisation of the effect.

gatnowurry
  • 344
  • 1
  • 7