[Android] Albums: fix blurred image sizing
Nicolas Pomepuy
git at videolan.org
Thu Jun 16 13:27:01 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jun 16 15:11:22 2022 +0200| [e7c962a99c44a66294f9ca8b73aca852118a679e] | committer: Nicolas Pomepuy
Albums: fix blurred image sizing
> https://code.videolan.org/videolan/vlc-android/commit/e7c962a99c44a66294f9ca8b73aca852118a679e
---
.../res/layout/header_media_list_activity.xml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/application/vlc-android/res/layout/header_media_list_activity.xml b/application/vlc-android/res/layout/header_media_list_activity.xml
index 459e3f3a9..5bd3c9622 100644
--- a/application/vlc-android/res/layout/header_media_list_activity.xml
+++ b/application/vlc-android/res/layout/header_media_list_activity.xml
@@ -56,13 +56,6 @@
vlc:title="@{playlist.title}"
vlc:titleEnabled="false">
- <ImageView
- android:id="@+id/backgroundView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="centerCrop"
- android:src="?attr/background_default_darker" />
-
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/header_layout"
android:layout_width="@dimen/default_content_width"
@@ -72,6 +65,16 @@
android:fitsSystemWindows="true"
vlc:layout_collapseMode="parallax">
+ <ImageView
+ android:id="@+id/backgroundView"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:scaleType="centerCrop"
+ vlc:layout_constraintTop_toTopOf="parent"
+ vlc:layout_constraintBottom_toBottomOf="parent"
+ vlc:layout_constraintStart_toStartOf="parent"
+ vlc:layout_constraintEnd_toEndOf="parent"
+ android:src="?attr/background_default_darker" />
<ImageView
android:id="@+id/playlist_cover"
More information about the Android
mailing list