summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-09-03 08:51:21 +0200
committerGitHub <noreply@github.com>2024-09-03 08:51:21 +0200
commit4fd3696d7fa308a5dc7d637605f45f4d6e5b1170 (patch)
tree7d205e0eaa7fb40075c91b0b55b755d94edb26a4
parent936bfa029ef5fd6cc85d9f0fd448c4c19e767822 (diff)
downloadAntennaPod-4fd3696d7fa308a5dc7d637605f45f4d6e5b1170.zip
Keep the feed background image at the top (#7379)
If the header got long (warning messages, preview description, etc), the image moved down. This created inconsistencies between feed fragment and feed info fragment.
-rw-r--r--app/src/main/res/layout/feed_item_list_fragment.xml2
-rw-r--r--app/src/main/res/layout/feedinfo.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/layout/feed_item_list_fragment.xml b/app/src/main/res/layout/feed_item_list_fragment.xml
index f697288cd..f2535bfbd 100644
--- a/app/src/main/res/layout/feed_item_list_fragment.xml
+++ b/app/src/main/res/layout/feed_item_list_fragment.xml
@@ -24,7 +24,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/image_readability_tint"
- android:scaleType="centerCrop"
+ android:scaleType="fitStart"
app:layout_collapseMode="parallax"
app:layout_collapseParallaxMultiplier="0.6" />
diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml
index 7b7937b9d..7c7afa425 100644
--- a/app/src/main/res/layout/feedinfo.xml
+++ b/app/src/main/res/layout/feedinfo.xml
@@ -26,7 +26,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/image_readability_tint"
- android:scaleType="centerCrop"
+ android:scaleType="fitStart"
app:layout_collapseMode="parallax"
app:layout_collapseParallaxMultiplier="0.6" />