Added preference to display only items which have an episode

This commit is contained in:
daniel oeh 2012-08-10 14:30:54 +02:00
parent 6ba37bbe89
commit d3d2debfb6
3 changed files with 8 additions and 1 deletions

View File

@ -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>

View File

@ -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

View File

@ -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;