Fix: animations should be gone. Color default animations is background_color
authormasensio <masensio@solidgear.es>
Tue, 3 Jun 2014 09:43:10 +0000 (11:43 +0200)
committermasensio <masensio@solidgear.es>
Tue, 3 Jun 2014 09:43:10 +0000 (11:43 +0200)
src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

index 8a017b5..5915ab4 100644 (file)
@@ -76,6 +76,10 @@ public class ExtendedListFragment extends SherlockFragment implements OnItemClic
         
         // Pull down refresh
         mRefreshLayout = (SwipeRefreshLayout) v.findViewById(R.id.swipe_refresh_files);
         
         // Pull down refresh
         mRefreshLayout = (SwipeRefreshLayout) v.findViewById(R.id.swipe_refresh_files);
+        // Colors in animations: background
+        mRefreshLayout.setColorScheme(R.color.background_color, R.color.background_color, 
+                 R.color.background_color, R.color.background_color);
+        
         mRefreshLayout.setOnRefreshListener(this);
         
         return v;
         mRefreshLayout.setOnRefreshListener(this);
         
         return v;