Browse Source

Fix: animations should be gone. Color default animations is background_color

masensio 11 years ago
parent
commit
4cd7d88322
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

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

@@ -76,6 +76,10 @@ public class ExtendedListFragment extends SherlockFragment implements OnItemClic
         
         // 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;