All episodes and new episodes no longer have a drawer item
|
@ -7,7 +7,6 @@ import android.content.res.TypedArray;
|
|||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.preference.PreferenceManager;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import android.util.TypedValue;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
|
@ -16,33 +15,28 @@ import android.widget.BaseAdapter;
|
|||
import android.widget.ImageView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.bumptech.glide.request.RequestOptions;
|
||||
import com.joanzapata.iconify.Iconify;
|
||||
import com.joanzapata.iconify.widget.IconTextView;
|
||||
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import de.danoeh.antennapod.R;
|
||||
import de.danoeh.antennapod.activity.MainActivity;
|
||||
import de.danoeh.antennapod.core.feed.Feed;
|
||||
import de.danoeh.antennapod.core.glide.ApGlideSettings;
|
||||
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||
import de.danoeh.antennapod.fragment.AddFeedFragment;
|
||||
import de.danoeh.antennapod.fragment.AllEpisodesFragment;
|
||||
import de.danoeh.antennapod.fragment.DownloadsFragment;
|
||||
import de.danoeh.antennapod.fragment.EpisodesFragment;
|
||||
import de.danoeh.antennapod.fragment.NewEpisodesFragment;
|
||||
import de.danoeh.antennapod.fragment.PlaybackHistoryFragment;
|
||||
import de.danoeh.antennapod.fragment.QueueFragment;
|
||||
import de.danoeh.antennapod.fragment.SubscriptionFragment;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
/**
|
||||
* BaseAdapter for the navigation drawer
|
||||
|
@ -120,15 +114,9 @@ public class NavListAdapter extends BaseAdapter
|
|||
case QueueFragment.TAG:
|
||||
icon = R.attr.stat_playlist;
|
||||
break;
|
||||
case NewEpisodesFragment.TAG:
|
||||
icon = R.attr.ic_new;
|
||||
break;
|
||||
case EpisodesFragment.TAG:
|
||||
icon = R.attr.feed;
|
||||
break;
|
||||
case AllEpisodesFragment.TAG:
|
||||
icon = R.attr.feed;
|
||||
break;
|
||||
case DownloadsFragment.TAG:
|
||||
icon = R.attr.av_download;
|
||||
break;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
android:layout_marginStart="@dimen/listitem_icon_leftpadding"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
tools:src="@drawable/ic_new_releases_white_24dp"
|
||||
tools:src="@drawable/ic_file_download_grey600_24dp"
|
||||
tools:background="@android:color/holo_green_dark"/>
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 679 B |
|
@ -29,7 +29,6 @@
|
|||
<attr name="ic_folder" format="reference"/>
|
||||
<attr name="type_video" format="reference"/>
|
||||
<attr name="dragview_background" format="reference"/>
|
||||
<attr name="ic_new" format="reference"/>
|
||||
<attr name="ic_history" format="reference"/>
|
||||
<attr name="ic_settings_playback" format="reference"/>
|
||||
<attr name="ic_settings" format="reference"/>
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
<item name="dragview_background">@drawable/ic_drag_vertical_grey600_48dp</item>
|
||||
<item name="nav_drawer_background">@color/white</item>
|
||||
<item name="drawer_activated_color">@color/highlight_light</item>
|
||||
<item name="ic_new">@drawable/ic_new_releases_grey600_24dp</item>
|
||||
<item name="ic_history">@drawable/ic_history_grey600_24dp</item>
|
||||
<item name="ic_folder">@drawable/ic_folder_grey600_24dp</item>
|
||||
<item name="ic_settings_playback">@drawable/ic_av_play_dark_24dp</item>
|
||||
|
@ -119,7 +118,6 @@
|
|||
<item name="dragview_background">@drawable/ic_drag_vertical_white_48dp</item>
|
||||
<item name="nav_drawer_background">@color/nav_drawer_background_dark</item>
|
||||
<item name="drawer_activated_color">@color/nav_drawer_highlighted_dark</item>
|
||||
<item name="ic_new">@drawable/ic_new_releases_white_24dp</item>
|
||||
<item name="ic_history">@drawable/ic_history_white_24dp</item>
|
||||
<item name="ic_folder">@drawable/ic_folder_white_24dp</item>
|
||||
<item name="ic_settings_playback">@drawable/ic_av_play_white_24dp</item>
|
||||
|
|