diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-01-13 17:26:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 17:26:42 +0100 |
commit | c5b34114cdc1a7bd0de2716dc4d7d3da66f95a2d (patch) | |
tree | afd234a60583bcd09d2eae60d95b6111068d2471 /app | |
parent | cf057acdf7414c4679738649b032edc67be0c4c6 (diff) | |
parent | 461dcb8c1182b41e170ebb3817a585614b269d6a (diff) | |
download | AntennaPod-c5b34114cdc1a7bd0de2716dc4d7d3da66f95a2d.zip |
Merge pull request #6264 from ByteHamster/onlinefeed_background
Make dark background of preview more consistent
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/onlinefeedview_activity.xml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java index 958bcec23..50aabbd01 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java @@ -65,6 +65,7 @@ import de.danoeh.antennapod.model.feed.Feed; import de.danoeh.antennapod.model.feed.FeedPreferences; import de.danoeh.antennapod.model.playback.RemoteMedia; import de.danoeh.antennapod.parser.feed.UnsupportedFeedtypeException; +import de.danoeh.antennapod.ui.common.ThemeUtils; import de.danoeh.antennapod.ui.glide.FastBlurTransformation; import io.reactivex.Maybe; import io.reactivex.Observable; @@ -128,6 +129,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity { viewBinding.transparentBackground.setOnClickListener(v -> finish()); viewBinding.card.setOnClickListener(null); + viewBinding.card.setCardBackgroundColor(ThemeUtils.getColorFromAttr(this, R.attr.colorSurface)); String feedUrl = null; if (getIntent().hasExtra(ARG_FEEDURL)) { diff --git a/app/src/main/res/layout/onlinefeedview_activity.xml b/app/src/main/res/layout/onlinefeedview_activity.xml index 9e89e8a0f..c9ee91ead 100644 --- a/app/src/main/res/layout/onlinefeedview_activity.xml +++ b/app/src/main/res/layout/onlinefeedview_activity.xml @@ -13,7 +13,7 @@ android:layout_height="match_parent" android:layout_margin="32dp" android:elevation="16dp" - app:cardCornerRadius="4dp"> + app:cardCornerRadius="8dp"> <FrameLayout android:layout_width="match_parent" |