[Android] UI : Add a fab play button

Alexandre Perraud git at videolan.org
Thu Mar 5 17:19:08 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Mar  5 17:17:42 2015 +0100| [5bb6395854b32d4b5b3487c82c4645475810dad4] | committer: Alexandre Perraud

UI : Add a fab play button

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

 assets/images/svg/ic_fab_play.svg              |  114 ++++++++++++++++++++++++
 vlc-android/res/drawable-hdpi/ic_fab_play.png  |  Bin 0 -> 3543 bytes
 vlc-android/res/drawable-ldpi/ic_fab_play.png  |  Bin 0 -> 1370 bytes
 vlc-android/res/drawable-mdpi/ic_fab_play.png  |  Bin 0 -> 2046 bytes
 vlc-android/res/drawable-xhdpi/ic_fab_play.png |  Bin 0 -> 5095 bytes
 5 files changed, 114 insertions(+)

diff --git a/assets/images/svg/ic_fab_play.svg b/assets/images/svg/ic_fab_play.svg
new file mode 100644
index 0000000..56e1d92
--- /dev/null
+++ b/assets/images/svg/ic_fab_play.svg
@@ -0,0 +1,114 @@
+<?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="36"
+   height="36"
+   id="svg4682"
+   version="1.1"
+   inkscape:version="0.48.5 r10040"
+   sodipodi:docname="ic_floating_play.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">
+    <filter
+       inkscape:collect="always"
+       id="filter5590">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.5"
+         id="feGaussianBlur5592" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="4.5677083"
+     inkscape:cx="-88.623077"
+     inkscape:cy="50.80504"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1056"
+     inkscape:window-x="0"
+     inkscape:window-y="24"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid2983"
+       empspacing="4"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true" />
+  </sodipodi:namedview>
+  <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 />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1016.3622)">
+    <path
+       transform="matrix(1.35,-1.3440112e-8,1.3440112e-8,1.35,-103.5,959.26818)"
+       sodipodi:type="arc"
+       style="color:#000000;fill:#757575;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.10000000000000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;filter:url(#filter5590)"
+       id="path5176"
+       sodipodi:cx="90"
+       sodipodi:cy="56.362183"
+       sodipodi:rx="10"
+       sodipodi:ry="10"
+       d="m 100,56.362183 a 10,10 0 1 1 -20,0 10,10 0 1 1 20,0 z" />
+    <path
+       d="m 100,56.362183 c 0,5.522847 -4.477153,10 -10,10 -5.522847,0 -10,-4.477153 -10,-10 0,-5.522848 4.477153,-10 10,-10 5.522847,0 10,4.477152 10,10 z"
+       sodipodi:ry="10"
+       sodipodi:rx="10"
+       sodipodi:cy="56.362183"
+       sodipodi:cx="90"
+       id="path5178"
+       style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       sodipodi:type="arc"
+       transform="matrix(1.4,0,0,1.4,-108,955.45513)" />
+    <path
+       sodipodi:type="star"
+       style="color:#000000;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:#fafafa;stroke-width:1.19954252;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="path5180"
+       sodipodi:sides="3"
+       sodipodi:cx="62"
+       sodipodi:cy="242.36218"
+       sodipodi:r1="9"
+       sodipodi:r2="5"
+       sodipodi:arg1="0"
+       sodipodi:arg2="1.0471976"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m 71,242.36218 -13.5,7.79423 0,-15.58846 z"
+       transform="matrix(0.69494087,0,0,0.69494087,-25.084462,865.93157)"
+       inkscape:transform-center-y="-0.0032446367"
+       inkscape:transform-center-x="-1.5654907" />
+  </g>
+</svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_fab_play.png b/vlc-android/res/drawable-hdpi/ic_fab_play.png
new file mode 100644
index 0000000..6d3922f
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_fab_play.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_fab_play.png b/vlc-android/res/drawable-ldpi/ic_fab_play.png
new file mode 100644
index 0000000..d440b0a
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_fab_play.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_fab_play.png b/vlc-android/res/drawable-mdpi/ic_fab_play.png
new file mode 100644
index 0000000..5a53cae
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_fab_play.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_fab_play.png b/vlc-android/res/drawable-xhdpi/ic_fab_play.png
new file mode 100644
index 0000000..4ffe9d8
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_fab_play.png differ



More information about the Android mailing list