diff --git a/res/drawable-hdpi/action_about.png b/res/drawable-hdpi/action_about.png new file mode 100644 index 000000000..8f39c428a Binary files /dev/null and b/res/drawable-hdpi/action_about.png differ diff --git a/res/menu/feedlist.xml b/res/menu/feedlist.xml index 8df6bab26..871768fed 100644 --- a/res/menu/feedlist.xml +++ b/res/menu/feedlist.xml @@ -1,6 +1,8 @@ - + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 43ff88699..23562ca59 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -55,4 +55,7 @@ Stream Seeking + Mark all read + Show information + Remove Feed diff --git a/src/de/podfetcher/fragment/FeedlistFragment.java b/src/de/podfetcher/fragment/FeedlistFragment.java index 1dc925164..aecaa7165 100644 --- a/src/de/podfetcher/fragment/FeedlistFragment.java +++ b/src/de/podfetcher/fragment/FeedlistFragment.java @@ -111,6 +111,9 @@ public class FeedlistFragment extends SherlockListFragment { public void onPause() { super.onPause(); pActivity.unregisterReceiver(contentUpdate); + if (mActionMode != null) { + mActionMode.finish(); + } } private BroadcastReceiver contentUpdate = new BroadcastReceiver() { @@ -158,6 +161,12 @@ public class FeedlistFragment extends SherlockListFragment { }; remover.execute(selectedFeed); break; + case R.id.mark_all_read_item: + for (FeedItem feeditem : selectedFeed.getItems()) { + manager.markItemRead(getSherlockActivity(), feeditem, true); + } + fla.notifyDataSetChanged(); + break; } mode.finish(); return true;