[Android] UI : add new preferences menu icon
Alexandre Perraud
git at videolan.org
Thu Mar 13 22:34:52 CET 2014
vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Mar 13 11:19:06 2014 +0100| [2e267b5a901c3c63403b3a06cc141d07e672c6a3] | committer: Adrien Maglo
UI : add new preferences menu 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=2e267b5a901c3c63403b3a06cc141d07e672c6a3
---
assets/images/svg/ic_menu_preferences.svg | 64 ++++++++++++++++++++
.../res/drawable-hdpi/ic_menu_preferences.png | Bin 0 -> 1270 bytes
.../res/drawable-ldpi/ic_menu_preferences.png | Bin 0 -> 668 bytes
.../res/drawable-mdpi/ic_menu_preferences.png | Bin 0 -> 805 bytes
.../res/drawable-xhdpi/ic_menu_preferences.png | Bin 0 -> 1755 bytes
vlc-android/res/menu/media_library.xml | 2 +-
6 files changed, 65 insertions(+), 1 deletion(-)
diff --git a/assets/images/svg/ic_menu_preferences.svg b/assets/images/svg/ic_menu_preferences.svg
new file mode 100644
index 0000000..0e65661
--- /dev/null
+++ b/assets/images/svg/ic_menu_preferences.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_preferences.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
+ id="path4724"
+ d="m 58.500922,942.37722 c -0.16092,0.0181 -0.29592,0.0618 -0.45612,0.11388 l -13.87248,4.50453 c -1.28172,0.41475 -2.01276,1.78971 -1.59636,3.06619 l 2.28048,7.00297 c -0.89472,0.59039 -1.74744,1.22803 -2.58444,1.89256 l -6.005161,-4.3531 c -1.0902,-0.78894 -2.59044,-0.55587 -3.38244,0.52995 l -8.5896,11.7725 c -0.79212,1.0857 -0.55812,2.57999 0.53208,3.36892 l 6.00516,4.35321 c -0.3768,1.00006 -0.69972,2.02641 -0.9882,3.06607 l -7.41144,0 c -1.34748,0 -2.4324,1.0805 -2.4324,2.42262 l 0,14.53577 c 0,1.34213 1.08492,2.42262 2.4324,2.42262 l 7.41144,0 c 0.28848,1.03967 0.6114,2.06602 0.9882,3.06609 l -6.00516,4.3154 c -1.0902,0.7888 -1.3242,2.283 -0.53208,3.3689 l 8.5896,11.7725 c 0.792,1.0857 2.29224,1.3188 3.38244,0.5298 l 6.005161,-4.3151 c 0.837,0.6644 1.68972,1.3021 2.58444,1.8925 l -2.28048,7.003 c -0.4164,1.2764 0.31464,2.6134 1.59636,3.0283 l 13.87248,4.5044 c 1.2816,0.4147 2.62416,-0.2754 3.04056,-1.5519 l 2.28036,-7.0029 c 0.5466,0.024 1.08168,0.037 1.63428,0.037 0.5
526,0 1.08768,-0.013 1.6344,-0.037 l 2.28036,7.0029 c 0.41628,1.2765 1.75884,1.9666 3.04056,1.5519 l 13.872361,-4.5044 c 1.28172,-0.4149 2.01276,-1.7519 1.59636,-3.0283 l -2.28048,-7.003 c 0.89472,-0.5904 1.74744,-1.2281 2.58444,-1.8925 l 6.005156,4.3151 c 1.0902,0.789 2.59044,0.5559 3.38256,-0.5298 l 8.589601,-11.7725 c 0.792,-1.0859 0.558,-2.5801 -0.53208,-3.3689 l -6.005161,-4.3154 c 0.37668,-1.00007 0.6996,-2.02642 0.988201,-3.06609 l 7.41132,0 c 1.34748,0 2.4324,-1.08049 2.4324,-2.42262 l 0,-14.53577 c 0,-1.34212 -1.08492,-2.42262 -2.4324,-2.42262 l -7.41132,0 c -0.288601,-1.03966 -0.611521,-2.06601 -0.988201,-3.06607 l 6.005161,-4.35321 c 1.09008,-0.78893 1.32408,-2.28322 0.53208,-3.36892 l -8.589601,-11.7725 c -0.79212,-1.08582 -2.29236,-1.31889 -3.38256,-0.52995 l -6.005156,4.3531 c -0.837,-0.66453 -1.68972,-1.30217 -2.58444,-1.89257 l 2.28048,-7.00296 c 0.4164,-1.27649 -0.31464,-2.65144 -1.59636,-3.06619 L 71.955322,942.4911 c -1.28172,-0.41475 -2.62428,0.27557 -3.04056,1.5
5208 l -2.28036,7.04063 c -0.54672,-0.0242 -1.0818,-0.0376 -1.6344,-0.0376 -0.5526,0 -1.08768,0.0133 -1.63428,0.0376 l -2.28036,-7.04063 c -0.36432,-1.11698 -1.4586,-1.79324 -2.58444,-1.66558 z m 5.24496,20.78154 c 0.41448,-0.0205 0.83424,0 1.25412,0 13.434001,0 24.324361,10.84646 24.324361,24.22627 0,13.37977 -10.89036,24.22617 -24.324361,24.22617 -13.434,0 -24.32436,-10.8464 -24.32436,-24.22617 0,-12.96166 10.218,-23.57737 23.07024,-24.22627 z m 13.416241,7.57071 -12.504121,7.5707 c -2.70756,0.0958 -5.31564,1.39555 -7.03128,3.74757 -2.96124,4.05887 -2.06112,9.73181 2.01444,12.68088 4.07556,2.9493 9.77124,2.05292 12.73212,-2.00632 1.716,-2.352 2.151,-5.24159 1.4064,-7.83561 l 3.382441,-14.15722 z"
+ style="color:#000000;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_menu_preferences.png b/vlc-android/res/drawable-hdpi/ic_menu_preferences.png
new file mode 100644
index 0000000..402d7cc
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_menu_preferences.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_menu_preferences.png b/vlc-android/res/drawable-ldpi/ic_menu_preferences.png
new file mode 100644
index 0000000..55ae6c3
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_menu_preferences.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_menu_preferences.png b/vlc-android/res/drawable-mdpi/ic_menu_preferences.png
new file mode 100644
index 0000000..0a0743c
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_menu_preferences.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_menu_preferences.png b/vlc-android/res/drawable-xhdpi/ic_menu_preferences.png
new file mode 100644
index 0000000..51ba807
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_menu_preferences.png differ
diff --git a/vlc-android/res/menu/media_library.xml b/vlc-android/res/menu/media_library.xml
index eb23a6c..16887f7 100644
--- a/vlc-android/res/menu/media_library.xml
+++ b/vlc-android/res/menu/media_library.xml
@@ -39,7 +39,7 @@
android:title="@string/equalizer" />
<item
android:id="@+id/ml_menu_preferences"
- android:icon="@android:drawable/ic_menu_preferences"
+ android:icon="@drawable/ic_menu_preferences"
android:title="@string/preferences" />
<item
android:id="@+id/ml_menu_about"
More information about the Android
mailing list