Make dark background of preview more consistent

This commit is contained in:
ByteHamster 2023-01-08 21:34:37 +01:00
parent 88289d02ae
commit 461dcb8c11
2 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,7 @@ import de.danoeh.antennapod.model.feed.Feed;
import de.danoeh.antennapod.model.feed.FeedPreferences; import de.danoeh.antennapod.model.feed.FeedPreferences;
import de.danoeh.antennapod.model.playback.RemoteMedia; import de.danoeh.antennapod.model.playback.RemoteMedia;
import de.danoeh.antennapod.parser.feed.UnsupportedFeedtypeException; import de.danoeh.antennapod.parser.feed.UnsupportedFeedtypeException;
import de.danoeh.antennapod.ui.common.ThemeUtils;
import de.danoeh.antennapod.ui.glide.FastBlurTransformation; import de.danoeh.antennapod.ui.glide.FastBlurTransformation;
import io.reactivex.Maybe; import io.reactivex.Maybe;
import io.reactivex.Observable; import io.reactivex.Observable;
@ -128,6 +129,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
viewBinding.transparentBackground.setOnClickListener(v -> finish()); viewBinding.transparentBackground.setOnClickListener(v -> finish());
viewBinding.card.setOnClickListener(null); viewBinding.card.setOnClickListener(null);
viewBinding.card.setCardBackgroundColor(ThemeUtils.getColorFromAttr(this, R.attr.colorSurface));
String feedUrl = null; String feedUrl = null;
if (getIntent().hasExtra(ARG_FEEDURL)) { if (getIntent().hasExtra(ARG_FEEDURL)) {

View File

@ -13,7 +13,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_margin="32dp" android:layout_margin="32dp"
android:elevation="16dp" android:elevation="16dp"
app:cardCornerRadius="4dp"> app:cardCornerRadius="8dp">
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"