Browse Source

fixed arrow coloring on the pull to refresh on the file list

Andy Scherzinger 9 years ago
parent
commit
414f43f326
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

+ 3 - 3
src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

@@ -338,9 +338,9 @@ public class ExtendedListFragment extends Fragment
     }
 
     private void onCreateSwipeToRefresh(SwipeRefreshLayout refreshLayout) {
-        // Colors in animations: background
-        refreshLayout.setColorScheme(R.color.background_color, R.color.background_color,
-                R.color.background_color, R.color.background_color);
+        // Colors in animations
+        refreshLayout.setColorSchemeResources(R.color.color_accent, R.color.primary,
+                R.color.primary_dark);
 
         refreshLayout.setOnRefreshListener(this);
     }