SwipeRefreshLayout behind ActionBar

前端 未结 6 1632
情深已故
情深已故 2020-12-13 13:10

When using a SwipeRefreshLayout in combination with a overlay mode ActionBar, the loading animation will be displayed behind the actionbar, making it almost invisible.

6条回答
  •  春和景丽
    2020-12-13 13:31

    I have currently come across this when I upgraded my dependency from appcompat 19.1.0 to 21.0.0 and made no code changes.

    This is actually a known issue with SwipeRefreshLayout in appcompat 21.0.0.

    Look here for a workaround: https://code.google.com/p/android/issues/detail?id=77712

提交回复
热议问题