[Android] Audio player: hide AB repeat marker by default

Nicolas Pomepuy git at videolan.org
Wed Jun 23 04:25:19 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jun 22 07:13:33 2021 +0200| [cd35ef89386bbb121482acf8d1a93dc2effd949d] | committer: Nicolas Pomepuy

Audio player: hide AB repeat marker by default

To prevent unwanted visibility when it's not enabled
Fixes #2066

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

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

diff --git a/application/vlc-android/res/layout/audio_player.xml b/application/vlc-android/res/layout/audio_player.xml
index 36bff4772..387a46fad 100644
--- a/application/vlc-android/res/layout/audio_player.xml
+++ b/application/vlc-android/res/layout/audio_player.xml
@@ -514,10 +514,12 @@
                 android:layout_marginBottom="32dp"
                 android:clipToPadding="false"
                 android:elevation="4dp"
+                android:visibility="gone"
                 app:layout_constraintBottom_toBottomOf="@+id/timeline"
                 app:layout_constraintEnd_toEndOf="@+id/timeline"
                 app:layout_constraintStart_toStartOf="@+id/timeline"
-                app:layout_constraintTop_toTopOf="@+id/timeline">
+                app:layout_constraintTop_toTopOf="@+id/timeline"
+                tools:visibility="visible">
 
             <androidx.constraintlayout.widget.Guideline
                     android:id="@+id/ab_repeat_marker_guideline_a"



More information about the Android mailing list