[Android] Fix the "play as video" button position when chips are shown in the audio player

Nicolas Pomepuy git at videolan.org
Tue Feb 8 14:39:35 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Feb  4 08:53:16 2022 +0100| [5f35b66b61739582d06515f7a703f8a3b5ed1446] | committer: Nicolas Pomepuy

Fix the "play as video" button position when chips are shown in the audio player

Fixes #2363

> https://code.videolan.org/videolan/vlc-android/commit/5f35b66b61739582d06515f7a703f8a3b5ed1446
---

 application/vlc-android/res/layout/audio_player.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/vlc-android/res/layout/audio_player.xml b/application/vlc-android/res/layout/audio_player.xml
index 072284260..3466c5da5 100644
--- a/application/vlc-android/res/layout/audio_player.xml
+++ b/application/vlc-android/res/layout/audio_player.xml
@@ -227,9 +227,9 @@
                     android:onClick="@{fragment::onResumeToVideoClick}"
                     android:scaleType="fitXY"
                     android:visibility="gone"
-                    app:layout_constraintBottom_toBottomOf="parent"
+                    app:layout_constraintBottom_toBottomOf="@id/audio_media_switcher"
                     app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toTopOf="parent"
+                    app:layout_constraintTop_toTopOf="@id/audio_media_switcher"
                     app:srcCompat="?attr/ic_playasaudio_off"
                     tools:visibility="visible" />
 



More information about the Android mailing list