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

This commit is contained in:
masensio 2014-06-03 11:43:10 +02:00
parent 21903c22d2
commit 4cd7d88322

View file

@ -76,6 +76,10 @@ public class ExtendedListFragment extends SherlockFragment implements OnItemClic
// Pull down refresh // Pull down refresh
mRefreshLayout = (SwipeRefreshLayout) v.findViewById(R.id.swipe_refresh_files); 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); mRefreshLayout.setOnRefreshListener(this);
return v; return v;