Merge pull request #6264 from ByteHamster/onlinefeed_background

Make dark background of preview more consistent
This commit is contained in:
ByteHamster 2023-01-13 17:26:42 +01:00 committed by GitHub
commit c5b34114cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.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)) {

View File

@ -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"