remove manual swipe layout color scheme assignments

This commit is contained in:
Andrew Dolgov 2015-02-09 19:23:57 +03:00
parent fca7c1872f
commit 10c9fb0456
6 changed files with 1 additions and 31 deletions

View File

@ -208,12 +208,7 @@ public class FeedCategoriesFragment extends Fragment implements OnItemClickListe
}
});
m_swipeLayout.setColorScheme(android.R.color.holo_green_dark,
android.R.color.holo_red_dark,
android.R.color.holo_blue_dark,
android.R.color.holo_orange_dark);
ListView list = (ListView)view.findViewById(R.id.feeds);
ListView list = (ListView)view.findViewById(R.id.feeds);
m_adapter = new FeedCategoryListAdapter(getActivity(), R.layout.feeds_row, (ArrayList<FeedCategory>)m_cats);
list.setAdapter(m_adapter);
list.setOnItemClickListener(this);

View File

@ -279,11 +279,6 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh
}
});
m_swipeLayout.setColorScheme(android.R.color.holo_green_dark,
android.R.color.holo_red_dark,
android.R.color.holo_blue_dark,
android.R.color.holo_orange_dark);
/* Button parentBtn = (Button) view.findViewById(R.id.open_parent);
if (parentBtn != null) {

View File

@ -324,11 +324,6 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
}
});
m_swipeLayout.setColorScheme(android.R.color.holo_green_dark,
android.R.color.holo_red_dark,
android.R.color.holo_blue_dark,
android.R.color.holo_orange_dark);
ListView list = (ListView)view.findViewById(R.id.headlines_list);
if (!m_compactLayoutMode) {

View File

@ -139,11 +139,6 @@ public class OfflineFeedCategoriesFragment extends Fragment implements OnItemCli
}
});
m_swipeLayout.setColorScheme(android.R.color.holo_green_dark,
android.R.color.holo_red_dark,
android.R.color.holo_blue_dark,
android.R.color.holo_orange_dark);
ListView list = (ListView)view.findViewById(R.id.feeds);
m_cursor = createCursor();

View File

@ -152,11 +152,6 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene
}
});
m_swipeLayout.setColorScheme(android.R.color.holo_green_dark,
android.R.color.holo_red_dark,
android.R.color.holo_blue_dark,
android.R.color.holo_orange_dark);
ListView list = (ListView)view.findViewById(R.id.feeds);
if (m_enableParentBtn) {

View File

@ -302,11 +302,6 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
}
});
m_swipeLayout.setColorScheme(android.R.color.holo_green_dark,
android.R.color.holo_red_dark,
android.R.color.holo_blue_dark,
android.R.color.holo_orange_dark);
m_cursor = createCursor();
ListView list = (ListView)view.findViewById(R.id.headlines_list);