[Android] UI : Add an add fab button

Alexandre Perraud git at videolan.org
Tue May 12 16:59:37 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue May 12 16:54:43 2015 +0200| [f99a751bdbf9c3e2d2128ecfb96b297e4a44cbee] | committer: Alexandre Perraud

UI : Add an add fab button

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

 assets/images/svg/ic_fab_add.svg              |  116 +++++++++++++++++++++++++
 vlc-android/res/drawable-hdpi/ic_fab_add.png  |  Bin 0 -> 3420 bytes
 vlc-android/res/drawable-ldpi/ic_fab_add.png  |  Bin 0 -> 1240 bytes
 vlc-android/res/drawable-mdpi/ic_fab_add.png  |  Bin 0 -> 1965 bytes
 vlc-android/res/drawable-xhdpi/ic_fab_add.png |  Bin 0 -> 4797 bytes
 5 files changed, 116 insertions(+)

diff --git a/assets/images/svg/ic_fab_add.svg b/assets/images/svg/ic_fab_add.svg
new file mode 100644
index 0000000..db87cb4
--- /dev/null
+++ b/assets/images/svg/ic_fab_add.svg
@@ -0,0 +1,116 @@
+<?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.91 r13725"
+   sodipodi:docname="ic_fab_plus.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-5">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.5"
+         id="feGaussianBlur5592-5" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="18.270833"
+     inkscape:cx="23.057268"
+     inkscape:cy="21.656208"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:window-width="1920"
+     inkscape:window-height="1056"
+     inkscape:window-x="0"
+     inkscape:window-y="24"
+     inkscape:window-maximized="1"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-nodes="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true"
+     inkscape:snap-text-baseline="true">
+    <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></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1016.3622)">
+    <circle
+       r="10"
+       cy="56.362183"
+       cx="90"
+       transform="matrix(1.35,-1.3440112e-8,1.3440112e-8,1.35,-103.50001,959.26819)"
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#757575;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.1;marker:none;filter:url(#filter5590-5);enable-background:accumulate"
+       id="circle6688" />
+    <circle
+       r="14"
+       cy="1034.3622"
+       cx="18"
+       id="circle6690"
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.1;marker:none;enable-background:accumulate" />
+    <rect
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.70000005;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+       id="rect6702"
+       width="3"
+       height="12"
+       x="16.5"
+       y="1028.3622" />
+    <rect
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.70000005;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+       id="rect6704"
+       width="12"
+       height="3"
+       x="12.000002"
+       y="1032.8622" />
+  </g>
+</svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_fab_add.png b/vlc-android/res/drawable-hdpi/ic_fab_add.png
new file mode 100644
index 0000000..258d0f4
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_fab_add.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_fab_add.png b/vlc-android/res/drawable-ldpi/ic_fab_add.png
new file mode 100644
index 0000000..0bd4fd2
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_fab_add.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_fab_add.png b/vlc-android/res/drawable-mdpi/ic_fab_add.png
new file mode 100644
index 0000000..c3fcfcb
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_fab_add.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_fab_add.png b/vlc-android/res/drawable-xhdpi/ic_fab_add.png
new file mode 100644
index 0000000..9f3c2d1
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_fab_add.png differ



More information about the Android mailing list