[Android] Fix audio global progress in landscape
Nicolas Pomepuy
git at videolan.org
Mon Jul 5 11:15:50 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jun 25 08:47:49 2021 +0200| [0187ab7791555c1d75d2f37fcc91e1452c3d1049] | committer: Nicolas Pomepuy
Fix audio global progress in landscape
> https://code.videolan.org/videolan/vlc-android/commit/0187ab7791555c1d75d2f37fcc91e1452c3d1049
---
application/vlc-android/res/layout-land/audio_player.xml | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/application/vlc-android/res/layout-land/audio_player.xml b/application/vlc-android/res/layout-land/audio_player.xml
index 4404478c4..d96c36c7a 100644
--- a/application/vlc-android/res/layout-land/audio_player.xml
+++ b/application/vlc-android/res/layout-land/audio_player.xml
@@ -313,17 +313,24 @@
android:id="@+id/audio_play_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginStart="4dp"
+ android:layout_marginEnd="4dp"
android:background="?attr/audio_chip_background"
android:elevation="4dp"
+ android:ellipsize="middle"
+ android:maxLines="1"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp"
+ android:singleLine="true"
android:textColor="?attr/audio_chip_text_color"
android:textSize="12sp"
+ app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/time"
- app:layout_constraintEnd_toEndOf="@id/cover_media_switcher"
- app:layout_constraintStart_toStartOf="@id/cover_media_switcher" />
+ app:layout_constraintEnd_toStartOf="@id/songs_list"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent" />
<org.videolan.vlc.gui.view.CoverMediaSwitcher
android:id="@+id/cover_media_switcher"
More information about the Android
mailing list