[Android] Update folder context icon
Alexandre Perraud
git at videolan.org
Fri Oct 6 10:20:34 UTC 2023
vlc-android | branch: master | Alexandre Perraud <alexandre at videolan.org> | Fri Jul 21 18:12:21 2023 +0200| [5c874e5f382dfa0b12bfea269a8343dd6e8931f7] | committer: Alexandre Perraud
Update folder context icon
> https://code.videolan.org/videolan/vlc-android/commit/5c874e5f382dfa0b12bfea269a8343dd6e8931f7
---
.../resources/assets/images/svg/ic_ctx_folder.svg | 80 ++++++++++++++++++++++
.../src/main/res/drawable/ic_ctx_folder.xml | 34 ++-------
2 files changed, 86 insertions(+), 28 deletions(-)
diff --git a/application/resources/assets/images/svg/ic_ctx_folder.svg b/application/resources/assets/images/svg/ic_ctx_folder.svg
new file mode 100644
index 0000000000..41fe784fd7
--- /dev/null
+++ b/application/resources/assets/images/svg/ic_ctx_folder.svg
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ width="40"
+ height="40"
+ viewBox="0 0 40 40"
+ version="1.1"
+ id="SVGRoot"
+ inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
+ sodipodi:docname="ic_ctx_folder.svg"
+ 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="defs7678" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="8.0000003"
+ inkscape:cx="8.3124997"
+ inkscape:cy="34.124999"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:window-width="1920"
+ inkscape:window-height="1043"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:grid-bbox="true"
+ 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="1">
+ <inkscape:grid
+ type="xygrid"
+ id="grid8234" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7681">
+ <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"
+ transform="translate(0,-8)">
+ <path
+ id="rect11805"
+ style="overflow:visible;fill:#000000;stroke-width:3;stroke-linejoin:round;stop-color:#000000"
+ d="m 16.5,17.5 c 0.663,9e-5 1.2988,0.26355 1.7676,0.73242 L 20,20 h 11 c 1.385,0 2.5,1.115 2.5,2.5 V 36 c 0,1.385 -1.115,2.5 -2.5,2.5 H 9 C 7.615,38.5 6.5,37.385 6.5,36 V 20 c 0,-1.385 1.115,-2.5 2.5,-2.5 z"
+ sodipodi:nodetypes="cccssssssscc" />
+ </g>
+</svg>
diff --git a/application/resources/src/main/res/drawable/ic_ctx_folder.xml b/application/resources/src/main/res/drawable/ic_ctx_folder.xml
index e064ccad44..e4de53df71 100644
--- a/application/resources/src/main/res/drawable/ic_ctx_folder.xml
+++ b/application/resources/src/main/res/drawable/ic_ctx_folder.xml
@@ -1,33 +1,11 @@
-<!--
- ~ *************************************************************************
- ~ ic_menu_folder.xml
- ~ **************************************************************************
- ~ Copyright © 2020 VLC authors and VideoLAN
- ~ Author: Nicolas POMEPUY
- ~ This program is free software; you can redistribute it and/or modify
- ~ it under the terms of the GNU General Public License as published by
- ~ the Free Software Foundation; either version 2 of the License, or
- ~ (at your option) any later version.
- ~
- ~ This program is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
- ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ~ GNU General Public License for more details.
- ~
- ~ You should have received a copy of the GNU General Public License
- ~ along with this program; if not, write to the Free Software
- ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- ~ ***************************************************************************
- ~
- ~
- -->
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="40dp"
android:height="40dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
+ android:viewportWidth="40"
+ android:viewportHeight="40">
<path
- android:fillColor="#000000"
- android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z"/>
+ android:pathData="m16.5,9.5c0.663,0 1.299,0.264 1.768,0.732L20,12h11c1.385,0 2.5,1.115 2.5,2.5L33.5,28c0,1.385 -1.115,2.5 -2.5,2.5L9,30.5C7.615,30.5 6.5,29.385 6.5,28L6.5,12c0,-1.385 1.115,-2.5 2.5,-2.5z"
+ android:strokeLineJoin="round"
+ android:strokeWidth="3"
+ android:fillColor="#000000"/>
</vector>
More information about the Android
mailing list