summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/values/strings.xml3
-rw-r--r--res/xml/preferences.xml5
-rw-r--r--src/de/danoeh/antennapod/PodcastApp.java1
3 files changed, 8 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1a2746953..6121410e5 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -171,6 +171,9 @@
<string name="player_buffering_msg">Buffering</string>
<string name="pref_autoQueue_title">Auto-enqueue</string>
<string name="pref_autoQueue_sum">Add an episode to the queue after it has been downloaded.</string>
+ <string name="pref_display_only_episodes_title">Display only episodes</string>
+ <string name="pref_display_only_episodes_sum">Display only items which also have an episode.</string>
+ <string name="user_interface_label">User Interface</string>
</resources> \ No newline at end of file
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 0a2c5e73b..30fee6569 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
- <PreferenceCategory android:title="@string/playback_pref" >
+ <PreferenceCategory android:title="@string/user_interface_label">
+ <CheckBoxPreference android:title="@string/pref_display_only_episodes_title" android:summary="@string/pref_display_only_episodes_sum" android:key="prefDisplayOnlyEpisodes"/>
+ </PreferenceCategory><PreferenceCategory android:title="@string/playback_pref" >
<CheckBoxPreference
android:defaultValue="true"
android:enabled="true"
@@ -14,6 +16,7 @@
android:key="prefFollowQueue"
android:summary="@string/pref_followQueue_sum"
android:title="@string/pref_followQueue_title" />
+
</PreferenceCategory>
<PreferenceCategory android:title="@string/network_pref" >
<ListPreference
diff --git a/src/de/danoeh/antennapod/PodcastApp.java b/src/de/danoeh/antennapod/PodcastApp.java
index 6454cc526..cf9271f8c 100644
--- a/src/de/danoeh/antennapod/PodcastApp.java
+++ b/src/de/danoeh/antennapod/PodcastApp.java
@@ -30,6 +30,7 @@ public class PodcastApp extends Application implements
public static final String PREF_UPDATE_INTERVALL = "prefAutoUpdateIntervall";
public static final String PREF_MOBILE_UPDATE = "prefMobileUpdate";
public static final String PREF_AUTO_QUEUE = "prefAutoQueue";
+ public static final String PREF_DISPLAY_ONLY_EPISODES = "prefDisplayOnlyEpisodes";
private static float LOGICAL_DENSITY;