fixed arrow coloring on the pull to refresh on the file list
authorAndy Scherzinger <info@andy-scherzinger.de>
Thu, 13 Aug 2015 17:28:44 +0000 (19:28 +0200)
committerAndy Scherzinger <info@andy-scherzinger.de>
Thu, 13 Aug 2015 17:28:44 +0000 (19:28 +0200)
src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

index 941654b..937a50d 100644 (file)
@@ -338,9 +338,9 @@ public class ExtendedListFragment extends Fragment
     }
 
     private void onCreateSwipeToRefresh(SwipeRefreshLayout refreshLayout) {
     }
 
     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);
     }
 
         refreshLayout.setOnRefreshListener(this);
     }