[Android] Fix stop after this icon color and sizing

Nicolas Pomepuy git at videolan.org
Mon May 6 08:57:24 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Apr 23 08:10:41 2024 +0200| [2424b8fc39dc3bf0f884c1061fe895d7fe270cce] | committer: Nicolas Pomepuy

Fix stop after this icon color and sizing

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

 application/resources/src/main/res/drawable/ic_stop_after_this.xml | 2 +-
 application/vlc-android/res/layout/playlist_item.xml               | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/application/resources/src/main/res/drawable/ic_stop_after_this.xml b/application/resources/src/main/res/drawable/ic_stop_after_this.xml
index f36e0dea64..4410a89127 100644
--- a/application/resources/src/main/res/drawable/ic_stop_after_this.xml
+++ b/application/resources/src/main/res/drawable/ic_stop_after_this.xml
@@ -29,6 +29,6 @@
     android:viewportHeight="48">
   <path
       android:pathData="M8.586,8.586C8.211,8.211 7.702,8 7.172,8 6.641,8 6.133,8.211 5.758,8.586c-0.781,0.781 -0.781,2.047 0,2.828L14,19.656V38c-0.001,1.544 1.674,2.506 3.008,1.729l10.777,-6.287 8.801,8.801c0.781,0.781 2.047,0.781 2.828,0 0.781,-0.781 0.781,-2.047 0,-2.828zM15.658,8.029C15.428,8.069 15.207,8.149 15.004,8.266 14.783,8.398 14.589,8.572 14.434,8.777L20.732,15.076 36.029,24l-4.025,2.348 2.926,2.926 6.078,-3.545c1.325,-0.771 1.325,-2.686 0,-3.457l-24,-14C16.601,8.034 16.123,7.948 15.658,8.029ZM18,23.656 L24.859,30.516 18,34.518Z"
-      android:fillColor="@color/white"
+      android:fillColor="?attr/font_audio_light"
       android:fillType="evenOdd"/>
 </vector>
diff --git a/application/vlc-android/res/layout/playlist_item.xml b/application/vlc-android/res/layout/playlist_item.xml
index b109446d47..968b8af2ca 100644
--- a/application/vlc-android/res/layout/playlist_item.xml
+++ b/application/vlc-android/res/layout/playlist_item.xml
@@ -225,8 +225,8 @@
 
         <androidx.appcompat.widget.AppCompatImageView
                 android:id="@+id/stop_after"
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
+                android:layout_width="24dp"
+                android:layout_height="24dp"
                 android:visibility="gone"
                 app:layout_constraintBottom_toBottomOf="@+id/audio_item_subtitle"
                 app:layout_constraintEnd_toEndOf="@+id/audio_item_title"



More information about the Android mailing list