[Android] UI add a new menu info icon

Alexandre Perraud git at videolan.org
Mon Mar 10 08:21:08 CET 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Fri Mar  7 17:20:44 2014 +0100| [a34da19fdc0fbf2f9fdd03fdce6d92bf7fbfb096] | committer: Adrien Maglo

UI add a new menu info icon

    Needed in 2.3

Signed-off-by: Adrien Maglo <magsoft at videolan.org>

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

 assets/images/svg/ic_menu_info.svg              |   64 +++++++++++++++++++++++
 vlc-android/res/drawable-hdpi/ic_menu_info.png  |  Bin 0 -> 911 bytes
 vlc-android/res/drawable-ldpi/ic_menu_info.png  |  Bin 0 -> 523 bytes
 vlc-android/res/drawable-mdpi/ic_menu_info.png  |  Bin 0 -> 642 bytes
 vlc-android/res/drawable-xhdpi/ic_menu_info.png |  Bin 0 -> 1120 bytes
 vlc-android/res/menu/media_library.xml          |    2 +-
 6 files changed, 65 insertions(+), 1 deletion(-)

diff --git a/assets/images/svg/ic_menu_info.svg b/assets/images/svg/ic_menu_info.svg
new file mode 100644
index 0000000..365693e
--- /dev/null
+++ b/assets/images/svg/ic_menu_info.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_info.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="5.6"
+     inkscape:cx="48.845731"
+     inkscape:cy="61.032055"
+     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"
+       id="path5298"
+       d="m 65.000005,942.36218 c -1.209213,0 -2.418425,0.2945 -3.375541,0.88614 -2.14029,1.3227 -3.375542,6.75097 -3.375542,6.75097 l -2.025303,6.07602 c 5.850886,3.67983 11.701772,3.7182 17.552657,0 l -2.025302,-6.07602 c 0,0 -1.235252,-5.42827 -3.375542,-6.75097 -0.957116,-0.59164 -2.166329,-0.88614 -3.375426,-0.88614 z m -14.177231,29.91566 -6.751084,20.25314 c 13.845403,8.92852 27.795769,9.10192 41.856518,0 l -6.751089,-20.25314 c -9.530833,7.0896 -18.982627,7.11207 -28.354345,0 z m -19.578075,28.35436 -9.451448,31.73 86.413499,0 -9.451561,-31.73 -10.126501,0 1.35012,4.0507 c 0,0 1.12142,3.6194 0,4.7257 -11.855473,11.6964 -38.261366,11.1804 -49.957721,-0.6751 -0.94836,-0.9611 0,-4.0506 0,-4.0506 l 1.350124,-4.0507 -10.126511,0 z"
+       style="fill:#fafafa;fill-opacity:1;stroke:none" />
+  </g>
+</svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_menu_info.png b/vlc-android/res/drawable-hdpi/ic_menu_info.png
new file mode 100644
index 0000000..cb6839f
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_menu_info.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_menu_info.png b/vlc-android/res/drawable-ldpi/ic_menu_info.png
new file mode 100644
index 0000000..16ade08
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_menu_info.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_menu_info.png b/vlc-android/res/drawable-mdpi/ic_menu_info.png
new file mode 100644
index 0000000..20d5af4
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_menu_info.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_menu_info.png b/vlc-android/res/drawable-xhdpi/ic_menu_info.png
new file mode 100644
index 0000000..59226bc
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_menu_info.png differ
diff --git a/vlc-android/res/menu/media_library.xml b/vlc-android/res/menu/media_library.xml
index 72e76ed..eb23a6c 100644
--- a/vlc-android/res/menu/media_library.xml
+++ b/vlc-android/res/menu/media_library.xml
@@ -43,7 +43,7 @@
         android:title="@string/preferences" />
     <item
         android:id="@+id/ml_menu_about"
-        android:icon="@android:drawable/ic_menu_info_details"
+        android:icon="@drawable/ic_menu_info"
         android:title="@string/about" />
     <item
         android:title="@string/clear_history"



More information about the Android mailing list