Commit c058a203 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Jean-Baptiste Kempf
Browse files

UI : Modify and adjust seekbar thumb


Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent 0a8fe349
<?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="14"
height="14"
id="svg3428"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="ic_seekbar_thumb_normal.svg">
<defs
id="defs3430" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="44.8"
inkscape:cx="5.8186359"
inkscape:cy="8.0587442"
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:grid
type="xygrid"
id="grid3436"
empspacing="4"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata3433">
<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,-1038.3622)">
<path
transform="matrix(1.5,0,0,1.4999948,-137,522.82074)"
sodipodi:type="arc"
style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path4744"
sodipodi:cx="96"
sodipodi:cy="348.36218"
sodipodi:rx="2"
sodipodi:ry="2"
d="m 98,348.36218 a 2,2 0 1 1 -4,0 2,2 0 1 1 4,0 z" />
</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="14"
height="14"
id="svg3428"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="ic_seekbar_thumb_pressed.svg">
<defs
id="defs3430" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="27.40625"
inkscape:cx="6.3076412"
inkscape:cy="8.0986063"
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:grid
type="xygrid"
id="grid3436"
empspacing="4"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata3433">
<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,-1038.3622)">
<path
sodipodi:type="arc"
style="color:#000000;fill:#ff8800;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path4746"
sodipodi:cx="96"
sodipodi:cy="348.36218"
sodipodi:rx="6"
sodipodi:ry="6"
d="m 102,348.36218 a 6,6 0 1 1 -12,0 6,6 0 1 1 12,0 z"
transform="matrix(0.66666667,0,0,0.66666667,-57,813.12074)" />
</g>
</svg>
......@@ -3,14 +3,14 @@
<item android:id="@android:id/background">
<shape>
<solid android:color="#80CCCCCC" />
<solid android:color="@color/grey400transparent" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<solid android:color="#80CCCCCC" />
<solid android:color="@color/grey400transparent" />
</shape>
</clip>
</item>
......@@ -18,7 +18,7 @@
<item android:id="@android:id/progress">
<clip>
<shape>
<solid android:color="#F48B00" />
<solid android:color="@color/orange500transparent" />
</shape>
</clip>
</item>
......
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/seekbar_thumb_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/seekbar_thumb_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/seekbar_thumb_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/seekbar_thumb_normal"/>
<item android:drawable="@drawable/ic_seekbar_thumb_normal" android:state_focused="true" android:state_pressed="false"/>
<item android:drawable="@drawable/ic_seekbar_thumb_pressed" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_seekbar_thumb_pressed" android:state_focused="false" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_seekbar_thumb_normal"/>
</selector>
......@@ -29,7 +29,8 @@
android:maxHeight="4dip"
android:minHeight="4dip"
android:progressDrawable="@drawable/po_seekbar"
android:thumb="@drawable/seekbar_thumb" />
android:thumb="@drawable/seekbar_thumb"
android:splitTrack="false"/>
</LinearLayout>
<HorizontalScrollView
......
......@@ -131,7 +131,8 @@
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:progressDrawable="@drawable/po_seekbar"
android:thumb="@drawable/seekbar_thumb" />
android:thumb="@drawable/seekbar_thumb"
android:splitTrack="false"/>
<TextView
android:id="@+id/player_overlay_length"
......
......@@ -139,6 +139,7 @@
android:paddingLeft="16dip"
android:paddingRight="16dip"
android:progressDrawable="@drawable/po_seekbar"
android:splitTrack="false"
android:thumb="@drawable/seekbar_thumb" />
<TextView
......
......@@ -28,7 +28,8 @@
android:maxHeight="4dip"
android:minHeight="4dip"
android:progressDrawable="@drawable/po_seekbar"
android:thumb="@drawable/seekbar_thumb" />
android:thumb="@drawable/seekbar_thumb"
android:splitTrack="false"/>
<HorizontalScrollView
android:id="@+id/equalizer_scroll"
......
......@@ -17,7 +17,8 @@
android:maxHeight="4dip"
android:minHeight="4dip"
android:progressDrawable="@drawable/po_seekbar"
android:thumb="@drawable/seekbar_thumb" />
android:thumb="@drawable/seekbar_thumb"
android:splitTrack="false"/>
<TextView
android:id="@+id/equalizer_band"
......
......@@ -23,6 +23,7 @@
android:layout_alignParentTop="true"
android:progressDrawable="@drawable/po_seekbar"
android:thumb="@drawable/seekbar_thumb"
android:splitTrack="false"
android:focusable="true"/>
<TextView
......
......@@ -144,6 +144,7 @@
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:progressDrawable="@drawable/po_seekbar"
android:splitTrack="false"
android:thumb="@drawable/seekbar_thumb" />
<LinearLayout
......
......@@ -119,7 +119,8 @@
android:minHeight="2dip"
android:paddingLeft="0px"
android:paddingRight="0px"
android:progressDrawable="@drawable/po_seekbar" />
android:progressDrawable="@drawable/po_seekbar"
android:splitTrack="false" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
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