[Android] Fix the mini visualizer initial visibility
Nicolas Pomepuy
git at videolan.org
Tue Apr 9 12:49:47 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr 3 07:44:40 2024 +0200| [13f23bfff99b07da98622e67120e8e312b46ee41] | committer: Duncan McNamara
Fix the mini visualizer initial visibility
It was showing by default on older Android version in the
settings' browser
> https://code.videolan.org/videolan/vlc-android/commit/13f23bfff99b07da98622e67120e8e312b46ee41
---
application/vlc-android/res/layout/browser_item.xml | 1 +
application/vlc-android/res/layout/card_browser_item.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/application/vlc-android/res/layout/browser_item.xml b/application/vlc-android/res/layout/browser_item.xml
index 40d5292b3d..c7487ceda8 100644
--- a/application/vlc-android/res/layout/browser_item.xml
+++ b/application/vlc-android/res/layout/browser_item.xml
@@ -127,6 +127,7 @@
android:layout_width="32dp"
android:layout_height="32dp"
app:bar_color="?attr/mini_visualizer_color"
+ android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/item_icon"
app:layout_constraintEnd_toEndOf="@+id/item_icon"
app:layout_constraintStart_toStartOf="@+id/item_icon"
diff --git a/application/vlc-android/res/layout/card_browser_item.xml b/application/vlc-android/res/layout/card_browser_item.xml
index 655de8860e..441ac93eec 100644
--- a/application/vlc-android/res/layout/card_browser_item.xml
+++ b/application/vlc-android/res/layout/card_browser_item.xml
@@ -149,6 +149,7 @@
android:layout_width="32dp"
android:layout_height="32dp"
app:bar_color="?attr/mini_visualizer_color"
+ android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/item_icon"
app:layout_constraintEnd_toEndOf="@+id/item_icon"
app:layout_constraintStart_toStartOf="@+id/item_icon"
More information about the Android
mailing list