Remove iconify: ListItem failures
This commit is contained in:
parent
abf94c4d27
commit
504fb782c0
|
@ -22,7 +22,6 @@ import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.bumptech.glide.Glide;
|
import com.bumptech.glide.Glide;
|
||||||
import com.bumptech.glide.request.RequestOptions;
|
import com.bumptech.glide.request.RequestOptions;
|
||||||
import com.joanzapata.iconify.Iconify;
|
import com.joanzapata.iconify.Iconify;
|
||||||
import com.joanzapata.iconify.widget.IconTextView;
|
|
||||||
import de.danoeh.antennapod.R;
|
import de.danoeh.antennapod.R;
|
||||||
import de.danoeh.antennapod.activity.PreferenceActivity;
|
import de.danoeh.antennapod.activity.PreferenceActivity;
|
||||||
import de.danoeh.antennapod.fragment.CompletedDownloadsFragment;
|
import de.danoeh.antennapod.fragment.CompletedDownloadsFragment;
|
||||||
|
@ -388,7 +387,7 @@ public class NavListAdapter extends RecyclerView.Adapter<NavListAdapter.Holder>
|
||||||
static class FeedHolder extends Holder {
|
static class FeedHolder extends Holder {
|
||||||
final ImageView image;
|
final ImageView image;
|
||||||
final TextView title;
|
final TextView title;
|
||||||
final IconTextView failure;
|
final ImageView failure;
|
||||||
final TextView count;
|
final TextView count;
|
||||||
|
|
||||||
public FeedHolder(@NonNull View itemView) {
|
public FeedHolder(@NonNull View itemView) {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/listitem_iconwithtext_height"
|
android:layout_height="@dimen/listitem_iconwithtext_height"
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
android:layout_toEndOf="@id/imgvCover"
|
android:layout_toEndOf="@id/imgvCover"
|
||||||
tools:text="Navigation item title" />
|
tools:text="Navigation item title" />
|
||||||
|
|
||||||
<com.joanzapata.iconify.widget.IconTextView
|
<ImageView
|
||||||
android:id="@+id/itxtvFailure"
|
android:id="@+id/itxtvFailure"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -54,12 +55,10 @@
|
||||||
android:layout_marginRight="@dimen/list_vertical_padding"
|
android:layout_marginRight="@dimen/list_vertical_padding"
|
||||||
android:layout_marginEnd="@dimen/list_vertical_padding"
|
android:layout_marginEnd="@dimen/list_vertical_padding"
|
||||||
android:layout_alignWithParentIfMissing="true"
|
android:layout_alignWithParentIfMissing="true"
|
||||||
android:lines="1"
|
|
||||||
android:text="{fa-exclamation-circle}"
|
|
||||||
android:textColor="@color/download_failed_red"
|
|
||||||
android:textSize="@dimen/text_size_navdrawer"
|
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
app:srcCompat="@drawable/ic_error"
|
||||||
|
app:tint="@color/download_failed_red"
|
||||||
tools:text="!"
|
tools:text="!"
|
||||||
tools:background="@android:color/holo_green_dark"/>
|
tools:background="@android:color/holo_green_dark"/>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="16dp"
|
||||||
|
android:height="16dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFF"
|
||||||
|
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-2h2v2zM13,13h-2L11,7h2v6z" />
|
||||||
|
</vector>
|
Loading…
Reference in New Issue