瀏覽代碼

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

masensio 11 年之前
父節點
當前提交
4cd7d88322
共有 1 個文件被更改,包括 4 次插入0 次删除
  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;