Has anyone noticed the SwipeRefreshLayout
in gmail. It changes color for every rotation in a single load iteration. Does anyone have any idea how to achieve it?
you can use any of those either passing Colors values or Colors Resource Ids
swipeRefreshLayout.setColorSchemeColors({COLOR VALUE},{COLOR VALUE },
any number of colors values..., {COLOR VALUE});
swipeRefreshLayout.setColorSchemeResources( R.color.{your Color resource Id},
any number of colors ids... , R.color.{your Color resource Id})```