[Android] add a debug banner icon for TV

Alexandre Perraud git at videolan.org
Tue Jan 23 16:33:03 CET 2018


vlc-android | branch: 2.5.x | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Jan 18 17:29:51 2018 +0100| [bdd713d26ad92f256fb0885a061ae124c152200a] | committer: Geoffrey Métais

add a debug banner icon for TV

(cherry picked from commit 091567e199801976de9ecb8ab0658a8199df7bf7)

> https://code.videolan.org/videolan/vlc-android/commit/bdd713d26ad92f256fb0885a061ae124c152200a
---

 assets/images/svg/banner_debug.svg                 |  85 +++++++++++++++++++++
 .../flavors/debug/res/drawable-hdpi/banner.png     | Bin 0 -> 3338 bytes
 .../flavors/debug/res/drawable-ldpi/banner.png     | Bin 0 -> 1586 bytes
 .../flavors/debug/res/drawable-mdpi/banner.png     | Bin 0 -> 2249 bytes
 .../flavors/debug/res/drawable-xhdpi/banner.png    | Bin 0 -> 4459 bytes
 5 files changed, 85 insertions(+)

diff --git a/assets/images/svg/banner_debug.svg b/assets/images/svg/banner_debug.svg
new file mode 100644
index 000000000..58f7d26d5
--- /dev/null
+++ b/assets/images/svg/banner_debug.svg
@@ -0,0 +1,85 @@
+<?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="45.155556mm"
+   height="24.835556mm"
+   viewBox="0 0 160 88"
+   id="svg6906"
+   version="1.1"
+   inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
+   sodipodi:docname="banner_debug.svg">
+  <defs
+     id="defs6908" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="3.959798"
+     inkscape:cx="112.65224"
+     inkscape:cy="49.757906"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1920"
+     inkscape:window-height="1052"
+     inkscape:window-x="1920"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata6911">
+    <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(-25.714283,-752.36218)">
+    <rect
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#00bfa5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+       id="rect6741"
+       width="160"
+       height="88"
+       x="25.714283"
+       y="752.36218" />
+    <path
+       sodipodi:nodetypes="sccccccscccccccccccccccccccc"
+       inkscape:connector-curvature="0"
+       id="path6774"
+       d="m 68.66486,763.36218 c -0.88664,0 -1.773245,0.21582 -2.47501,0.64984 -1.5693,0.97 -2.47501,4.95072 -2.47501,4.95072 l -1.485005,4.45573 c 4.28996,2.69857 8.579955,2.72668 12.86994,0 l -1.484965,-4.45573 c 0,0 -0.90574,-3.98072 -2.475045,-4.95072 -0.701765,-0.43385 -1.58837,-0.64984 -2.474905,-0.64984 z m -10.395005,21.93817 -4.950045,14.85228 c 10.151725,6.54756 20.38039,6.67471 30.689985,0 l -4.95001,-14.85228 c -6.98818,5.19902 -13.918445,5.21552 -20.78993,0 z m -15.125,23.65683 c -1.76,5.83 -3.52,11.66001 -5.28,17.49 -0.44,1.4575 0.88,2.91501 3.08,2.91501 18.48,0 36.96,0 55.44,0 2.2,0 3.52,-1.32 3.08,-2.91501 -1.76,-5.82999 -3.52,-11.66 -5.28,-17.49 -0.748745,-2.47262 -1.32,-2.915 -4.5925,-2.915 h -3.7125 l 1.09991,3.02187 c 0,0 0.82226,2.65419 0,3.46549 -8.692625,8.57742 -28.053935,8.19895 -36.629925,-0.49503 -0.69536,-0.70485 0,-2.97046 0,-2.97046 l 1.099975,-3.02187 H 47.73734 c -3.272485,0 -3.877485,0.43313 -4.592485,2.915 z"
+       style="fill:#fafafa;fill-opacity:1;stroke:none;stroke-width:0.5" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:6px;line-height:0%;font-family:Raleway;-inkscape-font-specification:'Raleway, Normal';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#fafafa;fill-opacity:1;stroke:none;stroke-width:0.5px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="110.38564"
+       y="806.98218"
+       id="text6776"><tspan
+         sodipodi:role="line"
+         id="tspan6778"
+         x="110.38564"
+         y="806.98218"
+         style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:30px;line-height:1.25;font-family:Raleway;-inkscape-font-specification:'Raleway Semi-Bold';fill:#fafafa;fill-opacity:1;stroke-width:0.5px">VLC</tspan></text>
+  </g>
+</svg>
diff --git a/vlc-android/flavors/debug/res/drawable-hdpi/banner.png b/vlc-android/flavors/debug/res/drawable-hdpi/banner.png
new file mode 100644
index 000000000..0c74345fe
Binary files /dev/null and b/vlc-android/flavors/debug/res/drawable-hdpi/banner.png differ
diff --git a/vlc-android/flavors/debug/res/drawable-ldpi/banner.png b/vlc-android/flavors/debug/res/drawable-ldpi/banner.png
new file mode 100644
index 000000000..1a99d7f92
Binary files /dev/null and b/vlc-android/flavors/debug/res/drawable-ldpi/banner.png differ
diff --git a/vlc-android/flavors/debug/res/drawable-mdpi/banner.png b/vlc-android/flavors/debug/res/drawable-mdpi/banner.png
new file mode 100644
index 000000000..b5db01ae5
Binary files /dev/null and b/vlc-android/flavors/debug/res/drawable-mdpi/banner.png differ
diff --git a/vlc-android/flavors/debug/res/drawable-xhdpi/banner.png b/vlc-android/flavors/debug/res/drawable-xhdpi/banner.png
new file mode 100644
index 000000000..e82f14078
Binary files /dev/null and b/vlc-android/flavors/debug/res/drawable-xhdpi/banner.png differ



More information about the Android mailing list