[Android] Albums: add ic_album_shuffle

Duncan McNamara git at videolan.org
Wed May 18 09:50:19 UTC 2022


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Tue May 17 13:01:13 2022 +0200| [8bde205b32e24e128f97331229a45232c4c3a6ca] | committer: Duncan McNamara

Albums: add ic_album_shuffle

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

 .../assets/images/svg/ic_album_shuffle.svg         | 77 ++++++++++++++++++++++
 .../src/main/res/drawable/ic_album_shuffle.xml     | 18 ++---
 2 files changed, 83 insertions(+), 12 deletions(-)

diff --git a/application/resources/assets/images/svg/ic_album_shuffle.svg b/application/resources/assets/images/svg/ic_album_shuffle.svg
new file mode 100644
index 000000000..e743b752a
--- /dev/null
+++ b/application/resources/assets/images/svg/ic_album_shuffle.svg
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="48.0px"
+   height="48.0px"
+   viewBox="0 0 48.0 48.0"
+   version="1.1"
+   id="SVGRoot"
+   sodipodi:docname="ic_album_s‎huffle.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+  <defs
+     id="defs3529" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.6568545"
+     inkscape:cx="3.5355337"
+     inkscape:cy="24.483571"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     inkscape:document-rotation="0"
+     showgrid="true"
+     inkscape:window-width="1920"
+     inkscape:window-height="1043"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:snap-page="true"
+     inkscape:snap-text-baseline="true"
+     inkscape:snap-center="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-paths="true"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:pagecheckerboard="0">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4099" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata3532">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <path
+       id="path37253"
+       style="color:#000000;fill:#000000;fill-rule:evenodd;stroke-linecap:round;-inkscape-stroke:none"
+       d="m 33.707,17.12109 2.586,2.58594 C 36.9355,20.33282 38.001,19.89017 38,19 v -8 c -1e-4,-0.55226 -0.4477,-0.99994 -1,-1 h -8 c -0.8903,-0.006 -1.3334,1.01686 -0.707,1.70703 l 2.5859,2.58594 -19.293,19.29297 c -0.7808,0.78101 -0.7808,2.04711 0,2.82812 0.781,0.7809 2.0472,0.7809 2.8282,0 z m -21.0195,-6.0957 c -0.4172,0.0659 -0.8028,0.26207 -1.1016,0.56055 -0.7808,0.78101 -0.7808,2.04711 0,2.82812 l 6.7579,6.75782 2.8281,-2.82813 -6.7578,-6.75781 c -0.4527,-0.45232 -1.0945,-0.6607 -1.7266,-0.56055 z m 16.9687,15.80273 -2.8281,2.82813 4.0508,4.05078 -2.5859,2.58594 C 27.6666,36.98314 28.1097,38.006 29,38 h 8 c 0.5523,-6e-5 0.9999,-0.44774 1,-1 v -8 c 0,-0.89017 -1.0645,-1.33282 -1.707,-0.70703 l -2.586,2.58594 z"
+       sodipodi:nodetypes="cccccccccsccscccccsccccccccccc" />
+  </g>
+</svg>
diff --git a/application/resources/src/main/res/drawable/ic_album_shuffle.xml b/application/resources/src/main/res/drawable/ic_album_shuffle.xml
index 9cbcbec46..4f597a3ff 100644
--- a/application/resources/src/main/res/drawable/ic_album_shuffle.xml
+++ b/application/resources/src/main/res/drawable/ic_album_shuffle.xml
@@ -1,13 +1,7 @@
-<!--From Google Fonts shuffle_black_48dp.svg-->
-
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:tools="http://schemas.android.com/tools"
-    android:width="32dp"
-    android:height="32dp"
-    android:viewportWidth="24"
-    android:viewportHeight="24">
-  <path
-      android:pathData="M10.59,9.17L6.12,4.7c-0.39,-0.39 -1.02,-0.39 -1.41,0 -0.39,0.39 -0.39,1.02 0,1.41l4.46,4.46 1.42,-1.4zM15.35,4.85l1.19,1.19L4.7,17.88c-0.39,0.39 -0.39,1.02 0,1.41 0.39,0.39 1.02,0.39 1.41,0L17.96,7.46l1.19,1.19c0.31,0.31 0.85,0.09 0.85,-0.36L20,4.5c0,-0.28 -0.22,-0.5 -0.5,-0.5h-3.79c-0.45,0 -0.67,0.54 -0.36,0.85zM14.83,13.41l-1.41,1.41 3.13,3.13 -1.2,1.2c-0.31,0.31 -0.09,0.85 0.36,0.85h3.79c0.28,0 0.5,-0.22 0.5,-0.5v-3.79c0,-0.45 -0.54,-0.67 -0.85,-0.35l-1.19,1.19 -3.13,-3.14z"
-      tools:fillColor="#ffffff"
-      android:fillColor="?attr/colorControlNormal"/>
+<vector android:height="32dp" android:viewportHeight="48"
+    android:viewportWidth="48" android:width="32dp" xmlns:android="http://schemas.android.com/apk/res/android">
+    <path
+        android:fillColor="?attr/colorControlNormal"
+        android:fillType="evenOdd"
+        android:pathData="m33.707,17.1211 l2.586,2.5859C36.9355,20.3328 38.001,19.8902 38,19v-8c-0.0001,-0.5523 -0.4477,-0.9999 -1,-1h-8c-0.8903,-0.006 -1.3334,1.0169 -0.707,1.707l2.5859,2.5859 -19.293,19.293c-0.7808,0.781 -0.7808,2.0471 0,2.8281 0.781,0.7809 2.0472,0.7809 2.8282,0zM12.6875,11.0254c-0.4172,0.0659 -0.8028,0.2621 -1.1016,0.5605 -0.7808,0.781 -0.7808,2.0471 0,2.8281l6.7579,6.7578 2.8281,-2.8281 -6.7578,-6.7578c-0.4527,-0.4523 -1.0945,-0.6607 -1.7266,-0.5605zM29.6562,26.8281 L26.8281,29.6563 30.8789,33.707 28.293,36.293C27.6666,36.9831 28.1097,38.006 29,38h8c0.5523,-0.0001 0.9999,-0.4477 1,-1v-8c0,-0.8902 -1.0645,-1.3328 -1.707,-0.707l-2.586,2.5859z" android:strokeLineCap="round"/>
 </vector>



More information about the Android mailing list