[Android] UI : Add a equalizer menu icon

Alexandre Perraud git at videolan.org
Wed Mar 5 22:28:19 CET 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Mar  4 17:33:16 2014 +0100| [43f23a33c0059cdafe5c5d1a4945a5e7d6efddfd] | committer: Adrien Maglo

UI : Add a equalizer menu icon

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=43f23a33c0059cdafe5c5d1a4945a5e7d6efddfd
---

 assets/images/svg/ic_menu_equalizer.svg            |   64 ++++++++++++++++++++
 .../res/drawable-hdpi/ic_menu_equalizer.png        |  Bin 0 -> 621 bytes
 .../res/drawable-ldpi/ic_menu_equalizer.png        |  Bin 0 -> 389 bytes
 .../res/drawable-mdpi/ic_menu_equalizer.png        |  Bin 0 -> 484 bytes
 .../res/drawable-xhdpi/ic_menu_equalizer.png       |  Bin 0 -> 656 bytes
 vlc-android/res/menu/media_library.xml             |    1 +
 6 files changed, 65 insertions(+)

diff --git a/assets/images/svg/ic_menu_equalizer.svg b/assets/images/svg/ic_menu_equalizer.svg
new file mode 100644
index 0000000..242275d
--- /dev/null
+++ b/assets/images/svg/ic_menu_equalizer.svg
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="130"
+   height="130"
+   id="svg4682"
+   version="1.1"
+   inkscape:version="0.48.4 r9939"
+   sodipodi:docname="ic_menu_folder.svg"
+   inkscape:export-filename="/home/corbax/Dev/android/Icons/Test 1/ic_play_normal.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs4684" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="3.959798"
+     inkscape:cx="18.194736"
+     inkscape:cy="74.339893"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1680"
+     inkscape:window-height="1026"
+     inkscape:window-x="1920"
+     inkscape:window-y="54"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata4687">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-922.36218)">
+    <path
+       inkscape:connector-curvature="0"
+       style="fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       d="m 28.399998,948.36216 c -1.3296,0 -2.4,1.0704 -2.4,2.4 l 0,45.59999 -3.6,0 c -1.3296,0 -2.4,1.0704 -2.4,2.4 l 0,7.20005 c 0,1.3296 1.0704,2.4 2.4,2.4 l 3.6,0 0,15.6 c 0,1.3296 1.0704,2.4 2.4,2.4 l 7.199999,0 c 1.3296,0 2.4,-1.0704 2.4,-2.4 l 0,-15.6 3.6,0 c 1.3296,0 2.4,-1.0704 2.4,-2.4 l 0,-7.20005 c 0,-1.3296 -1.0704,-2.4 -2.4,-2.4 l -3.6,0 0,-45.59999 c 0,-1.3296 -1.0704,-2.4 -2.4,-2.4 l -7.199999,0 z m 32.999998,0 c -1.3296,0 -2.4,1.0704 -2.4,2.4 l 0,15.6 -3.6,0 c -1.3296,0 -2.4,1.0704 -2.4,2.4 l 0,7.19999 c 0,1.3296 1.0704,2.4 2.4,2.4 l 3.6,0 0,45.60005 c 0,1.3296 1.0704,2.4 2.4,2.4 l 7.199999,0 c 1.3296,0 2.4,-1.0704 2.4,-2.4 l 0,-45.60005 3.6,0 c 1.3296,0 2.4,-1.0704 2.4,-2.4 l 0,-7.19999 c 0,-1.3296 -1.0704,-2.4 -2.4,-2.4 l -3.6,0 0,-15.6 c 0,-1.3296 -1.0704,-2.4 -2.4,-2.4 l -7.199999,0 z m 32.999996,0 c -1.3296,0 -2.4,1.0704 -2.4,2.4 l 0,33.59999 -3.599998,0 c -1.3296,0 -2.4,1.0704 -2.4,2.4 l 0,7.2 c 0,1.3296 1.0704,2.4 2.4,2.4 l 3.599998,0 0,27.60005 c 0,1.3296 1
 .0704,2.4 2.4,2.4 l 7.199998,0 c 1.3296,0 2.40001,-1.0704 2.40001,-2.4 l 0,-27.60005 3.6,0 c 1.3296,0 2.4,-1.0704 2.4,-2.4 l 0,-7.2 c 0,-1.3296 -1.0704,-2.4 -2.4,-2.4 l -3.6,0 0,-33.59999 c 0,-1.3296 -1.07041,-2.4 -2.40001,-2.4 l -7.199998,0 z"
+       id="rect5587" />
+  </g>
+</svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_menu_equalizer.png b/vlc-android/res/drawable-hdpi/ic_menu_equalizer.png
new file mode 100644
index 0000000..4677f27
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_menu_equalizer.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_menu_equalizer.png b/vlc-android/res/drawable-ldpi/ic_menu_equalizer.png
new file mode 100644
index 0000000..b78252c
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_menu_equalizer.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_menu_equalizer.png b/vlc-android/res/drawable-mdpi/ic_menu_equalizer.png
new file mode 100644
index 0000000..b667031
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_menu_equalizer.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_menu_equalizer.png b/vlc-android/res/drawable-xhdpi/ic_menu_equalizer.png
new file mode 100644
index 0000000..1c2c136
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_menu_equalizer.png differ
diff --git a/vlc-android/res/menu/media_library.xml b/vlc-android/res/menu/media_library.xml
index 7e1d1a8..72e76ed 100644
--- a/vlc-android/res/menu/media_library.xml
+++ b/vlc-android/res/menu/media_library.xml
@@ -35,6 +35,7 @@
         android:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_equalizer"
+        android:icon="@drawable/ic_menu_equalizer"
         android:title="@string/equalizer" />
     <item
         android:id="@+id/ml_menu_preferences"



More information about the Android mailing list