How can you change a Swipe refresh layout's color for each rotation?

前端 未结 5 2081
野的像风
野的像风 2021-02-03 19:19

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?

5条回答
  •  梦如初夏
    2021-02-03 20:01

    Change colors as per UI requirement:

    swipeRefreshLayout.setColorSchemeColors(Color.BLUE, Color.YELLOW, Color.BLUE);
    

提交回复
热议问题