diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java index fc540e223..cc1868321 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java @@ -83,6 +83,7 @@ public class CoverFragment extends Fragment { private void displayMediaInfo(@NonNull Playable media) { txtvPodcastTitle.setText(media.getFeedTitle()); txtvEpisodeTitle.setText(media.getEpisodeTitle()); + displayedChapterIndex = -2; // Force refresh displayCoverImage(media.getPosition()); } diff --git a/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java b/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java index 6c9a12f43..dcf1edbe7 100644 --- a/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java +++ b/app/src/main/java/de/danoeh/antennapod/view/SquareImageView.java @@ -27,8 +27,7 @@ public class SquareImageView extends AppCompatImageView { } private void loadAttrs(Context context, AttributeSet attrs) { - TypedArray a = context.getTheme().obtainStyledAttributes(attrs, - new int[]{R.styleable.SquareImageView_useMinimum}, 0, 0); + TypedArray a = context.obtainStyledAttributes(attrs, new int[]{R.styleable.SquareImageView_useMinimum}); useMinimum = a.getBoolean(0, false); a.recycle(); } diff --git a/app/src/main/res/layout/cover_fragment.xml b/app/src/main/res/layout/cover_fragment.xml index c5fedd07a..4292344fd 100644 --- a/app/src/main/res/layout/cover_fragment.xml +++ b/app/src/main/res/layout/cover_fragment.xml @@ -1,9 +1,9 @@ @@ -43,6 +43,7 @@ android:maxLines="2" android:textColor="?android:attr/textColorPrimary" android:textIsSelectable="true" + android:layout_marginBottom="8dp" tools:text="Episode" />