Commit 63a94bec authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Adrien Maglo

UI : add new speed icon

Signed-off-by: Adrien Maglo's avatarAdrien Maglo <magsoft@videolan.org>
parent 8a7f3f2b
<?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_speed_normal.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="53.538374"
inkscape:cy="59.775651"
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" />
<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,-922.36218)">
<path
style="fill:#323232;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 65.125,947.39351 c -4.9116,-0.014 -9.8387,0.99215 -14.4062,3.03125 -0.072,0.0325 -0.1465,0.0611 -0.2188,0.0937 -0.5185,0.23969 -1.0417,0.57293 -1.4687,1 -1.9526,1.9526 -1.9526,5.14114 0,7.09375 0.7392,0.73923 1.671,1.17085 2.625,1.34375 C 38.944,965.20128 30,977.72499 30,992.33096 c 0,19.33004 15.67,35.00004 35,35.00004 19.33,0 35,-15.67 35,-35.00004 0,-14.60597 -8.944,-27.12968 -21.6562,-32.375 0.9592,-0.17835 1.8855,-0.60431 2.625,-1.34375 1.9526,-1.9526 1.9526,-5.14115 0,-7.09375 -0.4327,-0.43271 -0.9433,-0.75991 -1.4688,-1 -4.5566,-2.07172 -9.4634,-3.11103 -14.375,-3.125 z M 65,967.33101 c 13.8073,0 25,11.19288 25,25 0,13.80709 -11.1927,24.99999 -25,24.99999 -13.807,0 -25,-11.1929 -25,-24.99999 0,-13.80712 11.193,-25 25,-25 z m -1.125,3.46875 c -11.3845,0.57708 -20.4062,10.00331 -20.4062,21.53125 0,10.75049 7.8612,19.66019 18.1562,21.28129 l -1.3125,-5.8125 c -6.6407,-2.008 -11.4687,-8.17283 -11.4687,-15.46879 0,-8.92485 7.2314,-16.15625 16.1562,-16.15625 2.3568,0 4.5748,0.5306 6.5938,1.4375 l 3.5625,-4.28125 c -3.024,-1.61748 -6.4872,-2.53125 -10.1563,-2.53125 -0.3719,0 -0.7578,-0.0186 -1.125,0 z m 11.625,6 c -0.4001,0.0223 -0.7559,0.13092 -1,0.375 l -12.0312,12.03125 c -0.9764,0.97629 -0.2577,3.96113 0.7187,4.9375 0.9763,0.9763 3.9612,1.69506 4.9375,0.71875 l 12.0313,-12.03125 c 0.9763,-0.97629 -0.086,-3.61737 -1.0625,-4.59375 -0.7323,-0.73222 -2.3935,-1.50445 -3.5938,-1.4375 z M 65,979.33101 c -7.1819,0 -13,5.81814 -13,13 0,6.38216 4.5924,11.67819 10.6563,12.78129 l -1.4688,-5.0938 c -2.8093,-1.4867 -4.8437,-4.48114 -4.8437,-7.68749 0,-4.53996 4.1162,-8.65625 8.6562,-8.65625 0.2103,0 0.4169,0.014 0.625,0.0312 l 3.625,-3.625 c -1.3335,-0.46168 -2.7594,-0.75 -4.25,-0.75 z"
id="path5180"
inkscape:connector-curvature="0" />
</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="130"
height="130"
id="svg4682"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="ic_wspeed_normal.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="32.281525"
inkscape:cy="59.754971"
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" />
<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,-922.36218)">
<path
inkscape:connector-curvature="0"
id="path4656"
d="m 65.124998,947.39354 c -4.9116,-0.014 -9.8387,0.99215 -14.4062,3.03125 -0.072,0.0325 -0.1465,0.0611 -0.2188,0.0937 -0.5185,0.23969 -1.0417,0.57293 -1.4687,1 -1.9526,1.9526 -1.9526,5.14114 0,7.09375 0.7392,0.73923 1.671,1.17085 2.625,1.34375 -12.7123,5.24532 -21.6563,17.76903 -21.6563,32.375 0,19.33001 15.67,35.00001 35,35.00001 19.330004,0 35.000002,-15.67 35.000002,-35.00001 0,-14.60597 -8.943998,-27.12968 -21.656198,-32.375 0.9592,-0.17835 1.8855,-0.60431 2.625,-1.34375 1.9526,-1.9526 1.9526,-5.14115 0,-7.09375 -0.4327,-0.43271 -0.9433,-0.75991 -1.4688,-1 -4.556604,-2.07172 -9.463404,-3.11103 -14.375004,-3.125 z m -0.125,19.9375 c 13.807304,0 25.000004,11.19288 25.000004,25 0,13.80706 -11.1927,25.00006 -25.000004,25.00006 -13.807,0 -25,-11.193 -25,-25.00006 0,-13.80712 11.193,-25 25,-25 z m -1.125,3.46875 c -11.3845,0.57708 -20.4062,10.00331 -20.4062,21.53125 0,10.75046 7.8612,19.66016 18.1562,21.28126 l -1.3125,-5.8125 c -6.6407,-2.008 -11.4687,-8.1728 -11.4687,-15.46876 0,-8.92485 7.2314,-16.15625 16.1562,-16.15625 2.3568,0 4.5748,0.5306 6.5938,1.4375 l 3.5625,-4.28125 c -3.024,-1.61748 -6.4872,-2.53125 -10.1563,-2.53125 -0.3719,0 -0.7578,-0.0186 -1.125,0 z m 11.625,6 c -0.4001,0.0223 -0.7559,0.13092 -1,0.375 l -12.0312,12.03125 c -0.9764,0.97629 -0.2577,3.96113 0.7187,4.9375 0.9763,0.9763 3.9612,1.69506 4.9375,0.71875 l 12.031304,-12.03125 c 0.9763,-0.97629 -0.086,-3.61737 -1.0625,-4.59375 -0.7323,-0.73222 -2.393504,-1.50445 -3.593804,-1.4375 z m -10.5,2.53125 c -7.1819,0 -13,5.81814 -13,13 0,6.38216 4.5924,11.67826 10.6563,12.78126 l -1.4688,-5.0938 c -2.8093,-1.48667 -4.8437,-4.48111 -4.8437,-7.68746 0,-4.53996 4.1162,-8.65625 8.6562,-8.65625 0.2103,0 0.4169,0.014 0.625,0.0312 l 3.625,-3.625 c -1.3335,-0.46168 -2.7594,-0.75 -4.25,-0.75 z"
style="fill:#fafafa;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</g>
</svg>
......@@ -17,6 +17,7 @@
<attr name="audio_browser_separator" format="reference|color" />
<attr name="playlist_item_drag_shadow" format="reference|color" />
<attr name="audio_player_header_time" format="reference|color" />
<attr name="ic_speed_normal_style" format="reference" />
<declare-styleable name="SlidingPaneLayout">
<attr name="overhangSize" format="dimension" />
......
......@@ -82,11 +82,13 @@
<item name="android:windowBackground">@drawable/advanced_options_audio_background</item>
<item name="android:textColor">@color/black</item>
<item name="advanced_options_divider">@color/darkgrey</item>
<item name="ic_speed_normal_style">@drawable/ic_speed_normal</item>
</style>
<style name="Theme.VLC.AdvancedOptionsVideo" parent="Theme.VLC.AdvancedOptions">
<item name="android:windowBackground">@drawable/advanced_options_video_background</item>
<item name="android:textColor">@color/white</item>
<item name="advanced_options_divider">@color/white</item>
<item name="ic_speed_normal_style">@drawable/ic_wspeed_normal</item>
</style>
</resources>
......@@ -40,7 +40,7 @@ public class SpeedSelector extends ExpandableLayout {
public SpeedSelector(Context context, AttributeSet attrs) {
super(context, attrs);
setTitle(R.string.playback_speed);
setIcon(R.drawable.ic_forward_normal);
setIconAttribute(R.attr.ic_speed_normal_style);
setContent(context, R.layout.expandable_speed_selector);
mSeekbar = (SeekBar) findViewById(R.id.speed_seek_bar);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment