Commit 93acda02 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Edward Wang

UI: Add video player tips view

Signed-off-by: Edward Wang's avatarEdward Wang <edward.c.wang@compdigitec.com>
parent d64071c2
<?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="235"
height="125"
id="svg4682"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="ic_gesture_swipe_horizontally.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="2.8"
inkscape:cx="119.65714"
inkscape:cy="46.13823"
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="24"
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,-927.36218)">
<g
id="g3874"
transform="matrix(1.25,0,0,1.25,-226.25,338.15945)" />
<g
id="g4589"
transform="matrix(0.527776,0,0,0.527776,761.38672,1883.1891)">
<path
id="path4592"
d="m -1220,-1747.625 c -14.24,0 -30,5 -40,15 -17.605,17.6049 -19.9443,73.0896 -20.0937,97.8125 14.2293,16.1813 34.8901,26.5717 58.0312,27.1563 0.687,0.017 1.3712,0.031 2.0625,0.031 0.6913,0 1.3755,-0.014 2.0625,-0.031 23.1411,-0.5846 43.8019,-10.975 58.0313,-27.1563 -0.1495,-24.7229 -2.4888,-80.2076 -20.0938,-97.8125 -10,-10 -25.76,-15 -40,-15 z"
style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="sascscs"
inkscape:connector-curvature="0"
id="path4594"
d="m -1252,-1723.6378 c 8.6367,-7.308 20.608,-12 32,-12 11.392,0 23.3633,4.692 32,12 13,11 8,31 8,31 0,0 -4,15 -40,15 -36,0 -40,-15 -40,-15 0,0 -5,-20 8,-31 z"
style="color:#000000;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
d="m -1220,-1417.625 c -49.6464,0 -90,40.3536 -90,90 0,5.4402 0.5057,10.7605 1.4375,15.9375 l 9.8125,-1.75 c -0.8177,-4.6025 -1.25,-9.3418 -1.25,-14.1875 0,-44.242 35.758,-80 80,-80 44.242,0 80,35.758 80,80 0,4.7801 -0.4223,9.4562 -1.2188,14 l 5.2188,0 0,1.3438 4.5938,0.5624 c 0.9275,-5.1657 1.4062,-10.4786 1.4062,-15.9062 0,-49.6464 -40.3536,-90 -90,-90 z"
id="path4596"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
inkscape:original="M -1220 -1417.625 C -1269.6464 -1417.625 -1310 -1377.2714 -1310 -1327.625 C -1310 -1322.1848 -1309.4943 -1316.8645 -1308.5625 -1311.6875 L -1298.75 -1313.4375 C -1299.5677 -1318.04 -1300 -1322.7793 -1300 -1327.625 C -1300 -1371.867 -1264.242 -1407.625 -1220 -1407.625 C -1175.758 -1407.625 -1140 -1371.867 -1140 -1327.625 C -1140 -1322.8449 -1140.4223 -1318.1688 -1141.2188 -1313.625 L -1136 -1313.625 L -1136 -1312.2812 L -1131.4062 -1311.7188 C -1130.4787 -1316.8845 -1130 -1322.1974 -1130 -1327.625 C -1130 -1377.2714 -1170.3536 -1417.625 -1220 -1417.625 z "
inkscape:radius="0"
sodipodi:type="inkscape:offset"
transform="translate(0,-360)" />
<path
inkscape:transform-center-x="-147.53744"
sodipodi:nodetypes="csccssscscccccc"
inkscape:connector-curvature="0"
id="path4598"
d="m -1060.3438,-1725.125 c -1.1902,0.1653 -2.1562,1.298 -2.1562,2.5 l 0,15 c -17.4827,0 -35.0601,0 -52.5,0 -2.7614,0 -5,2.2386 -5,5 l 0,30 c 0,2.7614 2.2386,5 5,5 l 52.5,0 0,15 c 0,1.0169 0.6709,1.9916 1.625,2.3438 0.9541,0.3514 2.1231,0.057 2.7812,-0.7188 l 32.5938,-34.625 c 0.7665,-0.8962 0.7665,-3.1038 0,-4 l -32.5938,-34.625 c -0.5381,-0.6444 -1.4176,-0.9863 -2.25,-0.875 z"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
<path
inkscape:transform-center-y="14.999522"
inkscape:transform-center-x="-83.666215"
style="color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -1131.4127,-1671.7565 c -0.4867,2.7182 -3.0861,4.5272 -5.8029,4.0393 -2.7181,-0.4867 -4.5272,-3.0848 -4.0393,-5.8029 0.4867,-2.7182 3.0848,-4.5273 5.8029,-4.0392 2.7182,0.4866 4.5273,3.0861 4.0393,5.8028 z"
id="path4600"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path4602"
d="m -1308.5874,-1671.7625 c -0.4865,-2.7165 1.3211,-5.3165 4.0385,-5.8016 2.7186,-0.4864 5.316,1.3202 5.8016,4.0385 0.4862,2.7186 -1.3201,5.3162 -4.0386,5.8016 -2.7164,0.4863 -5.317,-1.3212 -5.8015,-4.0385 z"
style="color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
inkscape:transform-center-x="83.667375"
inkscape:transform-center-y="14.99372" />
<path
d="m -1219,-1327.6378 c 0,0.5523 -0.4477,1 -1,1 -0.5523,0 -1,-0.4477 -1,-1 0,-0.5523 0.4477,-1 1,-1 0.5523,0 1,0.4477 1,1 z"
sodipodi:ry="1"
sodipodi:rx="1"
sodipodi:cy="-1327.6378"
sodipodi:cx="-1220"
id="path4604"
style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
sodipodi:type="arc"
transform="translate(0,-360)" />
<path
inkscape:connector-curvature="0"
style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -1220,-1747.625 c -14.24,0 -30,5 -40,15 -17.605,17.6049 -19.9443,73.0896 -20.0937,97.8125 14.2293,16.1813 34.8901,26.5717 58.0312,27.1563 0.687,0.017 1.3712,0.031 2.0625,0.031 0.6913,0 1.3755,-0.014 2.0625,-0.031 23.1411,-0.5846 43.8019,-10.975 58.0313,-27.1563 -0.1495,-24.7229 -2.4888,-80.2076 -20.0938,-97.8125 -10,-10 -25.76,-15 -40,-15 z"
id="path4606" />
<path
style="color:#000000;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -1252,-1723.6378 c 8.6367,-7.308 20.608,-12 32,-12 11.392,0 23.3633,4.692 32,12 13,11 8,31 8,31 0,0 -4,15 -40,15 -36,0 -40,-15 -40,-15 0,0 -5,-20 8,-31 z"
id="path4608"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sascscs" />
<path
sodipodi:type="inkscape:offset"
inkscape:radius="0"
inkscape:original="M -1220 -1417.625 C -1269.6464 -1417.625 -1310 -1377.2714 -1310 -1327.625 C -1310 -1322.1848 -1309.4943 -1316.8645 -1308.5625 -1311.6875 L -1298.75 -1313.4375 C -1299.5677 -1318.04 -1300 -1322.7793 -1300 -1327.625 C -1300 -1371.867 -1264.242 -1407.625 -1220 -1407.625 C -1175.758 -1407.625 -1140 -1371.867 -1140 -1327.625 C -1140 -1322.8449 -1140.4223 -1318.1688 -1141.2188 -1313.625 L -1136 -1313.625 L -1136 -1312.2812 L -1131.4062 -1311.7188 C -1130.4787 -1316.8845 -1130 -1322.1974 -1130 -1327.625 C -1130 -1377.2714 -1170.3536 -1417.625 -1220 -1417.625 z "
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
id="path4610"
d="m -1220,-1417.625 c -49.6464,0 -90,40.3536 -90,90 0,5.4402 0.5057,10.7605 1.4375,15.9375 l 9.8125,-1.75 c -0.8177,-4.6025 -1.25,-9.3418 -1.25,-14.1875 0,-44.242 35.758,-80 80,-80 44.242,0 80,35.758 80,80 0,4.7801 -0.4223,9.4562 -1.2188,14 l 5.2188,0 0,1.3438 4.5938,0.5624 c 0.9275,-5.1657 1.4062,-10.4786 1.4062,-15.9062 0,-49.6464 -40.3536,-90 -90,-90 z"
transform="translate(0,-360)" />
<path
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
d="m -1379.6562,-1650.155 c 1.1902,-0.1653 2.1562,-1.298 2.1562,-2.5 l 0,-15 c 17.4827,0 35.0601,0 52.5,0 2.7614,0 5,-2.2386 5,-5 l 0,-30 c 0,-2.7614 -2.2386,-5 -5,-5 l -52.5,0 0,-15 c 0,-1.0169 -0.6709,-1.9916 -1.625,-2.3438 -0.9541,-0.3514 -2.1231,-0.057 -2.7812,0.7188 l -32.5938,34.625 c -0.7665,0.8962 -0.7665,3.1038 0,4 l 32.5938,34.625 c 0.5381,0.6444 1.4176,0.9863 2.25,0.875 z"
id="path4612"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csccssscscccccc"
inkscape:transform-center-x="147.53744"
inkscape:transform-center-y="9.0915452e-05" />
<path
inkscape:connector-curvature="0"
id="path4614"
d="m -1131.4127,-1671.7565 c -0.4867,2.7182 -3.0861,4.5272 -5.8029,4.0393 -2.7181,-0.4867 -4.5272,-3.0848 -4.0393,-5.8029 0.4867,-2.7182 3.0848,-4.5273 5.8029,-4.0392 2.7182,0.4866 4.5273,3.0861 4.0393,5.8028 z"
style="color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
inkscape:transform-center-x="-83.666215"
inkscape:transform-center-y="14.999522" />
<path
inkscape:transform-center-y="14.99372"
inkscape:transform-center-x="83.667375"
style="color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -1308.5874,-1671.7625 c -0.4865,-2.7165 1.3211,-5.3165 4.0385,-5.8016 2.7186,-0.4864 5.316,1.3202 5.8016,4.0385 0.4862,2.7186 -1.3201,5.3162 -4.0386,5.8016 -2.7164,0.4863 -5.317,-1.3212 -5.8015,-4.0385 z"
id="path4617"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>
<?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="125"
height="235"
id="svg4682"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="ic_gesture_swipe_vertically.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="2.8"
inkscape:cx="-5.261652"
inkscape:cy="132.66067"
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="24"
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,-817.36218)">
<g
id="g3874"
transform="matrix(1.25,0,0,1.25,-226.25,338.15945)" />
<g
transform="matrix(0.527776,0,0,0.527776,1020.4134,1730.5584)"
id="g6259"
inkscape:export-filename="/home/corbax/Dev/android/Design/tips.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<path
id="path6261"
d="m -1814.9251,-1567.625 c 14.24,0 30,5 40,15 17.605,17.6049 19.9443,73.0896 20.0937,97.8125 -14.2293,16.1813 -34.8901,26.5717 -58.0312,27.1563 -0.687,0.017 -1.3712,0.031 -2.0625,0.031 -0.6913,0 -1.3755,-0.014 -2.0625,-0.031 -23.1411,-0.5846 -43.8019,-10.975 -58.0313,-27.1563 0.1495,-24.7229 2.4888,-80.2076 20.0938,-97.8125 10,-10 25.76,-15 40,-15 z"
style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="sascscs"
inkscape:connector-curvature="0"
id="path6263"
d="m -1782.9251,-1543.6378 c -8.6367,-7.308 -20.608,-12 -32,-12 -11.392,0 -23.3633,4.692 -32,12 -13,11 -8,31 -8,31 0,0 4,15 40,15 36,0 40,-15 40,-15 0,0 5,-20 -8,-31 z"
style="color:#000000;fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
d="m -1220,-1417.625 c -49.6464,0 -90,40.3536 -90,90 0,5.4402 0.5057,10.7605 1.4375,15.9375 l 9.8125,-1.75 c -0.8177,-4.6025 -1.25,-9.3418 -1.25,-14.1875 0,-44.242 35.758,-80 80,-80 44.242,0 80,35.758 80,80 0,4.7801 -0.4223,9.4562 -1.2188,14 l 5.2188,0 0,1.3438 4.5938,0.5624 c 0.9275,-5.1657 1.4062,-10.4786 1.4062,-15.9062 0,-49.6464 -40.3536,-90 -90,-90 z"
id="path6265"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:10;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
inkscape:original="M -1220 -1417.625 C -1269.6464 -1417.625 -1310 -1377.2714 -1310 -1327.625 C -1310 -1322.1848 -1309.4943 -1316.8645 -1308.5625 -1311.6875 L -1298.75 -1313.4375 C -1299.5677 -1318.04 -1300 -1322.7793 -1300 -1327.625 C -1300 -1371.867 -1264.242 -1407.625 -1220 -1407.625 C -1175.758 -1407.625 -1140 -1371.867 -1140 -1327.625 C -1140 -1322.8449 -1140.4223 -1318.1688 -1141.2188 -1313.625 L -1136 -1313.625 L -1136 -1312.2812 L -1131.4062 -1311.7188 C -1130.4787 -1316.8845 -1130 -1322.1974 -1130 -1327.625 C -1130 -1377.2714 -1170.3536 -1417.625 -1220 -1417.625 z "
inkscape:radius="0"
sodipodi:type="inkscape:offset"
transform="translate(-595,-180)" />
<path
inkscape:transform-center-y="147.46258"
inkscape:transform-center-x="4.5915452e-05"
sodipodi:nodetypes="csccssscscccccc"
inkscape:connector-curvature="0"
id="path6267"
d="m -1852.485,-1348.0587 c 0.1653,-1.1902 1.298,-2.1562 2.5,-2.1562 l 15,0 c 0,-17.4827 0,-35.0601 0,-52.5 0,-2.7614 2.2386,-5 5,-5 l 30,0 c 2.7614,0 5,2.2386 5,5 l 0,52.5 15,0 c 1.0169,0 1.9916,0.6709 2.3438,1.625 0.3514,0.9541 0.057,2.1231 -0.7188,2.7812 l -34.625,32.5938 c -0.8962,0.7665 -3.1038,0.7665 -4,0 l -34.625,-32.5938 c -0.6444,-0.5381 -0.9863,-1.4176 -0.875,-2.25 z"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
<path
inkscape:connector-curvature="0"
id="path6269"
d="m -1726.3377,-1491.7625 c 0.4865,-2.7165 -1.3211,-5.3165 -4.0385,-5.8016 -2.7186,-0.4864 -5.316,1.3202 -5.8016,4.0385 -0.4862,2.7186 1.3201,5.3162 4.0386,5.8016 2.7164,0.4863 5.317,-1.3212 5.8015,-4.0385 z"
style="color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
inkscape:transform-center-x="83.667375"
inkscape:transform-center-y="14.99372" />
<path
inkscape:transform-center-y="14.999522"
inkscape:transform-center-x="-83.666215"
style="color:#000000;fill:#ff8800;fill-opacity:1;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m -1903.5124,-1491.7565 c 0.4867,2.7182 3.0861,4.5272 5.8029,4.0393 2.7181,-0.4867 4.5272,-3.0848 4.0393,-5.8029 -0.4867,-2.7182 -3.0848,-4.5273 -5.8029,-4.0392 -2.7182,0.4866 -4.5273,3.0861 -4.0393,5.8028 z"
id="path6271"
inkscape:connector-curvature="0" />
<path
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
d="m -1777.515,-1667.2213 c -0.1653,1.1902 -1.298,2.1562 -2.5,2.1562 l -15,0 c 0,17.4827 0,35.0601 0,52.5 0,2.7614 -2.2386,5 -5,5 l -30,0 c -2.7614,0 -5,-2.2386 -5,-5 l 0,-52.5 -15,0 c -1.0169,0 -1.9916,-0.6709 -2.3438,-1.625 -0.3514,-0.9541 -0.057,-2.1231 0.7188,-2.7812 l 34.625,-32.5938 c 0.8962,-0.7665 3.1038,-0.7665 4,0 l 34.625,32.5938 c 0.6444,0.5381 0.9863,1.4176 0.875,2.25 z"
id="path6273"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csccssscscccccc"
inkscape:transform-center-x="-3.5915451e-05"
inkscape:transform-center-y="-147.4625" />
</g>
</g>
</svg>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid android:color="@color/darkerorange" />
<padding
android:bottom="6dp"
android:left="6dp"
android:right="6dp"
android:top="6dp" />
<corners android:radius="160dp" />
</shape>
\ No newline at end of file
......@@ -7,7 +7,6 @@
the double FrameLayout is necessary here to do cropping on the bottom right
(which requires the surface not be centered), while keeping the result centered
-->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -37,6 +36,12 @@
android:layout_height="match_parent"
android:fitsSystemWindows="true" >
<include
android:id="@+id/player_overlay_tips"
android:layout_width="match_parent"
android:layout_height="match_parent"
layout="@layout/player_tips" />
<ImageButton
android:id="@+id/player_overlay_play"
android:layout_width="wrap_content"
......@@ -117,7 +122,7 @@
android:layout_above="@+id/progress_overlay"
android:layout_alignParentRight="true"
android:layout_below="@+id/player_overlay_header"
android:gravity="bottom|center_horizontal"
android:gravity="bottom|right"
android:orientation="vertical"
android:visibility="invisible" >
......
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/transparent_gray"
android:clickable="true"
android:onClick="onClickOverlayTips" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:weightSum="4" >
<TextView
style="@style/TipsFontStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="bottom"
android:text="@string/video_player_tips"
android:textSize="18sp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="center"
android:orientation="horizontal"
android:weightSum="2" >
<TextView
style="@style/TipsFontStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:drawableBottom="@drawable/ic_gesture_swipe_vertically"
android:gravity="center"
android:text="@string/brightness" />
<TextView
style="@style/TipsFontStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:drawableBottom="@drawable/ic_gesture_swipe_vertically"
android:gravity="center"
android:text="@string/volume" />
</LinearLayout>
<TextView
style="@style/TipsFontStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|top"
android:drawableBottom="@drawable/ic_gesture_swipe_horizontally"
android:gravity="center"
android:text="@string/seek" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true" >
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/player_tips_progress"
android:layout_alignParentRight="true" >
<ImageView
android:id="@+id/player_tips_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/player_tips_audio"
android:layout_alignParentRight="true"
android:background="@drawable/ic_subtitle_circle" />
<TextView
style="@style/TipsFontStyle.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/player_tips_subtitle"
android:layout_marginTop="-6dp"
android:paddingRight="5dp"
android:text="@string/subtitles" />
<ImageView
android:id="@+id/player_tips_audio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/player_tips_size"
android:layout_alignParentRight="true"
android:background="@drawable/ic_audio_circle" />
<TextView
style="@style/TipsFontStyle.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/player_tips_audio"
android:layout_marginTop="-6dp"
android:paddingRight="5dp"
android:text="@string/track_audio" />
<ImageView
android:id="@+id/player_tips_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:background="@drawable/ic_crop_circle" />
<TextView
style="@style/TipsFontStyle.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/player_tips_size"
android:layout_marginTop="-6dp"
android:paddingRight="5dp"
android:text="@string/resize" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/player_tips_progress"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="?attr/video_player_overlay"
android:paddingLeft="5dp"
android:paddingRight="5dp" >
<ImageView
android:id="@+id/player_tips_lock"
android:layout_width="40dip"
android:layout_height="40dip"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:background="@drawable/ic_lock" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:background="@drawable/dots"
android:onClick="showAdvancedOptions" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/player_tips_lock"
android:background="@drawable/button_oval"
android:clickable="true"
android:onClick="onClickDismissTips"
android:paddingLeft="5dp"
android:text="@string/ok_got_it"
android:textColor="@color/white"
android:textStyle="bold"
android:textSize="22sp" />
</RelativeLayout>
<TextView
style="@style/TipsFontStyle.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/player_tips_progress"
android:layout_marginTop="-6dp"
android:paddingRight="5dp"
android:text="@string/options" />
<TextView
style="@style/TipsFontStyle.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignTop="@+id/player_tips_progress"
android:layout_marginTop="-6dp"
android:paddingLeft="5dp"
android:text="@string/lock" />
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
......@@ -225,4 +225,14 @@
<string name="dump_logcat">Sauvegarder le fichier journal logcat</string>
<string name="dump_logcat_success">Logcat sauvegardé avec succès dans %1$s !</string>
<string name="dump_logcat_failure">Échec de sauvegarde du logcat.</string>
<!-- Tips -->
<string name="video_player_tips">Astuces du lecteur vidéo</string>
<string name="seek">Recherche</string>
<string name="subtitles">Sous-titres</string>
<string name="resize">Ajuster l\'image</string>
<string name="options">Options</string>
<string name="lock">Vérouiller</string>
<string name="ok_got_it">J\'ai compris</string>
</resources>
......@@ -160,6 +160,15 @@
<string name="hardware_acceleration_error_title">HW acceleration error</string>
<string name="hardware_acceleration_error_message">An error occurred with hardware acceleration. Would you like to disable it and try again?</string>
<!-- Tips -->
<string name="video_player_tips">Video player tips:</string>
<string name="seek">Seek</string>
<string name="subtitles">Subtitles</string>
<string name="resize">Resize</string>
<string name="options">Options</string>
<string name="lock">Lock</string>
<string name="ok_got_it">Got it, dismiss this</string>
<!-- About -->
<string name="app_name_full">VLC for Android™</string>
<string name="licence">License</string>
......@@ -447,5 +456,4 @@
<string-array name="vouts_froyo">
<item >@string/vout_android_surface</item>
</string-array>
</resources>
......@@ -199,4 +199,15 @@
<item name="ic_down_style">@drawable/ic_down_w</item>
<item name="ic_up_style">@drawable/ic_up_w</item>
</style>
<!-- Tips Apearance-->
<style name="TipsFontStyle">
<item name="android:textColor">@color/darkerorange</item>
<item name="android:textStyle">bold</item>
</style>
<style name="TipsFontStyle.Small" parent="TipsFontStyle">
<item name="android:textSize">10sp</item>
</style>
</resources>
......@@ -65,6 +65,7 @@ import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.database.Cursor;
......@@ -136,6 +137,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
private static final int SURFACE_ORIGINAL = 6;
private int mCurrentSize = SURFACE_BEST_FIT;
private SharedPreferences mSettings;
/** Overlay */
private View mOverlayHeader;
private View mOverlayOption;
......@@ -227,6 +230,10 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
private boolean mDisabledHardwareAcceleration = false;
private int mPreviousHardwareAccelerationMode;
// Tips
private View mOverlayTips;
private static final String PREF_TIPS_SHOWN = "video_player_tips_shown";
@Override
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
protected void onCreate(Bundle savedInstanceState) {
......@@ -248,9 +255,9 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
}
SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this);
mSettings = PreferenceManager.getDefaultSharedPreferences(this);
mEnableCloneMode = pref.getBoolean("enable_clone_mode", false);
mEnableCloneMode = mSettings.getBoolean("enable_clone_mode", false);
createPresentation();
setContentView(mPresentation == null ? R.layout.player : R.layout.player_remote_control);
......@@ -290,11 +297,11 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
// the info textView is not on the overlay
mInfo = (TextView) findViewById(R.id.player_overlay_info);
mEnableBrightnessGesture = pref.getBoolean("enable_brightness_gesture", true);
mEnableBrightnessGesture = mSettings.getBoolean("enable_brightness_gesture", true);
mScreenOrientation = Integer.valueOf(
pref.getString("screen_orientation_value", "4" /*SCREEN_ORIENTATION_SENSOR*/));
mSettings.getString("screen_orientation_value", "4" /*SCREEN_ORIENTATION_SENSOR*/));