Sfoglia il codice sorgente

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

masensio 11 anni fa
parent
commit
4cd7d88322

+ 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;