[Android] [PATCH] UI : Modify and adjust seekbar thumb
Alexandre Perraud
4leyx4ndre at gmail.com
Wed Dec 17 16:41:49 CET 2014
---
assets/images/svg/ic_seekbar_thumb_normal.svg | 74 +++++++++++++++++++++
assets/images/svg/ic_seekbar_thumb_pressed.svg | 74 +++++++++++++++++++++
.../res/drawable-hdpi/ic_seekbar_thumb_normal.png | Bin 0 -> 310 bytes
.../res/drawable-hdpi/ic_seekbar_thumb_pressed.png | Bin 0 -> 364 bytes
.../res/drawable-ldpi/ic_seekbar_thumb_normal.png | Bin 0 -> 229 bytes
.../res/drawable-ldpi/ic_seekbar_thumb_pressed.png | Bin 0 -> 241 bytes
.../res/drawable-mdpi/ic_seekbar_thumb_normal.png | Bin 0 -> 256 bytes
.../res/drawable-mdpi/ic_seekbar_thumb_pressed.png | Bin 0 -> 289 bytes
.../res/drawable-xhdpi/ic_seekbar_thumb_normal.png | Bin 0 -> 388 bytes
.../drawable-xhdpi/ic_seekbar_thumb_pressed.png | Bin 0 -> 441 bytes
vlc-android/res/drawable/po_seekbar.xml | 6 +-
vlc-android/res/drawable/seekbar_thumb.xml | 8 +--
vlc-android/res/layout-land/equalizer.xml | 3 +-
.../res/layout-land/player_remote_control.xml | 3 +-
vlc-android/res/layout/audio_player.xml | 1 +
vlc-android/res/layout/equalizer.xml | 3 +-
vlc-android/res/layout/equalizer_bar.xml | 3 +-
vlc-android/res/layout/player_hud.xml | 1 +
vlc-android/res/layout/player_remote_control.xml | 1 +
vlc-android/res/layout/vlcwidget.xml | 3 +-
20 files changed, 168 insertions(+), 12 deletions(-)
create mode 100644 assets/images/svg/ic_seekbar_thumb_normal.svg
create mode 100644 assets/images/svg/ic_seekbar_thumb_pressed.svg
create mode 100644 vlc-android/res/drawable-hdpi/ic_seekbar_thumb_normal.png
create mode 100644 vlc-android/res/drawable-hdpi/ic_seekbar_thumb_pressed.png
create mode 100644 vlc-android/res/drawable-ldpi/ic_seekbar_thumb_normal.png
create mode 100644 vlc-android/res/drawable-ldpi/ic_seekbar_thumb_pressed.png
create mode 100644 vlc-android/res/drawable-mdpi/ic_seekbar_thumb_normal.png
create mode 100644 vlc-android/res/drawable-mdpi/ic_seekbar_thumb_pressed.png
create mode 100644 vlc-android/res/drawable-xhdpi/ic_seekbar_thumb_normal.png
create mode 100644 vlc-android/res/drawable-xhdpi/ic_seekbar_thumb_pressed.png
diff --git a/assets/images/svg/ic_seekbar_thumb_normal.svg b/assets/images/svg/ic_seekbar_thumb_normal.svg
new file mode 100644
index 0000000..a114e95
--- /dev/null
+++ b/assets/images/svg/ic_seekbar_thumb_normal.svg
@@ -0,0 +1,74 @@
+<?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>
diff --git a/assets/images/svg/ic_seekbar_thumb_pressed.svg b/assets/images/svg/ic_seekbar_thumb_pressed.svg
new file mode 100644
index 0000000..bb127fb
--- /dev/null
+++ b/assets/images/svg/ic_seekbar_thumb_pressed.svg
@@ -0,0 +1,74 @@
+<?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>
diff --git a/vlc-android/res/drawable-hdpi/ic_seekbar_thumb_normal.png b/vlc-android/res/drawable-hdpi/ic_seekbar_thumb_normal.png
new file mode 100644
index 0000000000000000000000000000000000000000..e885b0395978cca7aaa854f7461ea5515712fb73
GIT binary patch
literal 310
zcmeAS at N?(olHy`uVBq!ia0vp^S|H591|*LjJ{b+9Sc;uILpXq-h9ji|$mcBZh%9Dc
z&};)?Mx{6Rdw_zHC9V-A!TD(=<%vb94CUqJdYO6I#mR{Use1WE>9gP2NC6dX_H=O!
zi8%cBx+9;1fdK1;osFM6R+sh$f8l$#<hjIEHyy*JUnlSXq3F1mM^<%}7Kfk{r|Ogd
zAhAWZWJ+9mq18#D?TV`JcbBZOESaWv?Dz}U8msM`B~ujd)$DDw*|aQsl~b|md<FkC
z8#jfmFjqK#eF2w=zl?5IVpHU*mt6~gOU!pJzOC8(E;(dHM#aKKjR8m8`Hf~K+!FRV
z-2SWOkdD`aX_W!o>Hmxcy)+iK2zkA at znRf{{~x~j>8s8GozLLu>gTe~DWM4frPXw$
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-hdpi/ic_seekbar_thumb_pressed.png b/vlc-android/res/drawable-hdpi/ic_seekbar_thumb_pressed.png
new file mode 100644
index 0000000000000000000000000000000000000000..1f61f29ef785b03f8b26e265d87fae456857a8e1
GIT binary patch
literal 364
zcmeAS at N?(olHy`uVBq!ia0vp^S|H591|*LjJ{b+9Sc;uILpXq-h9ji|$mcBZh%9Dc
z&};)?Mx{6Rdw_zHC9V-A!TD(=<%vb94CUqJdYO6I#mR{Use1WE>9gP2NC6eS^mK6y
zi8%cB#zEd at 10L23^@*&{68duv34IA;S4-&iIV8d}@$`GfRbEqXspT?ldey8yXI at Tn
zj)RaC6PxJ at N8YRplNSm{amm=SaWS#JmP at REX0gzg-)iwgQE at IM);|Ih<(Sh=jyt)R
zi0E)0cphP~$eQidMfJ3gv1Pw^UC^DpUqSxHnKRG6J}G}%cb84lc6RWmg$hO7{R?$U
zq#ZX}ga`z?hf9S#&{BB+ at RVcr6x+>zR!Z`U8cTUOUGKW^RezzE*ZLQ!K}Peg at YI;j
z4+!<{oMq~N_0gJFB7voMR$5Je>)#1<VnFk%rh5zv_xJ7*tTlZA^fZH~tDnm{r-UW|
D{*Z at p
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-ldpi/ic_seekbar_thumb_normal.png b/vlc-android/res/drawable-ldpi/ic_seekbar_thumb_normal.png
new file mode 100644
index 0000000000000000000000000000000000000000..3edc17efa3978c8cd31a581d44b272fb728da569
GIT binary patch
literal 229
zcmeAS at N?(olHy`uVBq!ia0vp^!XV7S1|*9D%+3HQmSQK*5Dp-y;YjHK@;M7UB8wRq
zgi1h|@m`vI1yE43#5JNMI6tkVJh3R1p}f3YFEcN at I61K(RWH9NefB#WDWIYxPZ!4!
zi_^(J{{OdU-fD1oMPi8Anz at c2>eZd!{O4;+GvIwRIW>a4nODG``O$xmACeJsR1Q1n
z9WdcYRNxa&GUs`;^}mIo$GnWg4v8)24JQ0Ku%l;HqTAIQORB7-&%P)z<YBOhXIZ^Q
S_1F%eZ492SelF{r5}E*wz)U>=
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-ldpi/ic_seekbar_thumb_pressed.png b/vlc-android/res/drawable-ldpi/ic_seekbar_thumb_pressed.png
new file mode 100644
index 0000000000000000000000000000000000000000..e21c6b1bec8a5121e2e5e39569e1b86005d03118
GIT binary patch
literal 241
zcmeAS at N?(olHy`uVBq!ia0vp^!XV7S1|*9D%+3HQmSQK*5Dp-y;YjHK@;M7UB8wRq
zgi1h|@m`vI1yE43#5JNMI6tkVJh3R1p}f3YFEcN at I61K(RWH9NefB#WDWIY}PZ!4!
zi_^(J{{OdU-fD2z!+g!`#^3eq&awjU|J^_Nfy1ZyheF{bp4UkROj&!lkNn^GV0S|0
zBA(_Q9Mc^+m^bbaxNOjI{hx5->kh*l^NDS5)p8_MHgHO_1-Zvh4>UcqLTYx1Z+ggi
f#>K7zc03G=rha_0<NezVpv?@Pu6{1-oD!M<DV0-O
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-mdpi/ic_seekbar_thumb_normal.png b/vlc-android/res/drawable-mdpi/ic_seekbar_thumb_normal.png
new file mode 100644
index 0000000000000000000000000000000000000000..44f45ffab4c5946f69f962de2f381ab5bdb397ba
GIT binary patch
literal 256
zcmeAS at N?(olHy`uVBq!ia0vp^G9b*s1|*Ak?@s|zEX7WqAsj$Z!;#Vf<Z~8yL>4nJ
zNUsNB#yF{oARUq=t`Q}{`DrEPiAAXl<>lpinR(g8$%zH2dih1^v)|cB0TtDHx;Tb-
z9DjTDAa8?$0Ly`;yuTKUovYGl$XnO at b>Xq;jLdR|JCCdVQR9|rP|;y#mn|t^a9N;W
zxHw>e$cvqRDu-eUoR=&JI?x`H*D=|lg{^F{tncjw3Z)6*mn<sg1k29|Of$J6&il3f
uL6ffOK9gt3iS|FV=b8PVCsXp_^c$H~H&hMVj!6R@!r<xZ=d#Wzp$P!34_58~
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-mdpi/ic_seekbar_thumb_pressed.png b/vlc-android/res/drawable-mdpi/ic_seekbar_thumb_pressed.png
new file mode 100644
index 0000000000000000000000000000000000000000..dd6c22806f0d299b8910c81ff971b32b82271521
GIT binary patch
literal 289
zcmeAS at N?(olHy`uVBq!ia0vp^G9b*s1|*Ak?@s|zEX7WqAsj$Z!;#Vf<Z~8yL>4nJ
zNUsNB#yF{oARUq=t`Q}{`DrEPiAAXl<>lpinR(g8$%zH2dih1^v)|cB0Ts>jba4#v
zIR19pY2F3}p0?LU=bp1wd@}4WRCRms%Ue;-CV)Asle67kG2qiue+7mmnpp?f{_t4@
z_Rn-%&&z#NA?~x>{Jrc;__TTD9_*Pgf!i$SH;+WZZiZc5x%mr>46536SpB^l=7?MN
zy!^mrIdzXQ>xRqTllgnDMzB5Eee*!XFO4aG83SyWymDQ9PwZ81eCn2${O`5S2meko
dNl1Ob7`bG*;1OHHEkKttc)I$ztaD0e0s!MwW!(S(
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-xhdpi/ic_seekbar_thumb_normal.png b/vlc-android/res/drawable-xhdpi/ic_seekbar_thumb_normal.png
new file mode 100644
index 0000000000000000000000000000000000000000..8488fac000f0d83c5304b964c0a6b6b46a5ea0e9
GIT binary patch
literal 388
zcmeAS at N?(olHy`uVBq!ia0vp^79h;Q1|(OsS<3+_mSQK*5Dp-y;YjHK@;M7UB8wRq
z%ws{AQL at 1e$Y78xag8Vm&QB{TPb^AhC@(M9%goCzPEIUH)ypqRpZ(58ih+TV(bL5-
zB;(%O8yk6>4Fp&(+~2^I-C}#AMRmdB2F{3P*Fz#aj-P{PaA>+ViA<LGExy0-d&#!*
zb`xCAG&V4CX)Hh at _OtVy$ke#Ga9QG_#G6LB*{bYMt~2+YxUpzq;?hR>O`Dw03f?qr
zu;r3^#=PPBnKywgyl(<z*WB8j6_&^p`*h#Iw;qRebslu|wC!fUvoF?muBW|2`N9j?
zQ6`BDvDy)PnR!?Di+!@a5HPQydf6ZQ3#M<18)RPzXj#mSIH<|;ph&4eFd#Z)y3eaz
zrC)CHe}i>9kC%P9zf{F;k7tk0Bnc~3L$fO>(GHBPA^~v1;EN5z)E$$0Z2C6M28I}e
Mr>mdKI;Vst00AP7n*aa+
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable-xhdpi/ic_seekbar_thumb_pressed.png b/vlc-android/res/drawable-xhdpi/ic_seekbar_thumb_pressed.png
new file mode 100644
index 0000000000000000000000000000000000000000..6a61fcf8c30df97ff7f98d83ca57dba41816a352
GIT binary patch
literal 441
zcmeAS at N?(olHy`uVBq!ia0vp^79h;Q1|(OsS<3+_mSQK*5Dp-y;YjHK@;M7UB8wRq
z%ws{AQL at 1e$Y78xag8Vm&QB{TPb^AhC@(M9%goCzPEIUH)ypqRpZ(58ih+UA%+tj&
zB;(%On}+KS83?dkc=>?iiGYmC_C+33cvXFi=9bJ+)HU~Tu at zxdR8(v{yZ!T9&1Ih7
zQ;zSBYgP&3V-X2(U}OaoXZR})wY5!Zo7dLZHnHvJypR9ZE?@YBbM}AcHGvyk-4DAk
z+n+fiCYvqtnpJK?YI9fHYw-=&V{R^Z#CW at uvH!-!f^Q9bpPf-Id(9yA%_OF-qxy-{
zVLQEo$esHS*iM|M{qp<yzh%+;?yr;kzr?!0GC)Fwch!aiQmxN3fBt>>D#GbbgZJFz
z3tL_sVwldC%Ef2mqbJ+%9jT%GKu*({;djRYJC=eD4jCtg;~fVKSql0%=CEE7yQ(<3
zZl=ec3+ne*sou{?FO2p2cWCy}6G}f928$&h)?wQp+4F95Ma{`)KYjG~FmY)tXn+uP
b)1+H>U(cWGH|HEMm>E1>{an^LB{Ts5gn_T#
literal 0
HcmV?d00001
diff --git a/vlc-android/res/drawable/po_seekbar.xml b/vlc-android/res/drawable/po_seekbar.xml
index f6d46ae..40d7604 100644
--- a/vlc-android/res/drawable/po_seekbar.xml
+++ b/vlc-android/res/drawable/po_seekbar.xml
@@ -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>
diff --git a/vlc-android/res/drawable/seekbar_thumb.xml b/vlc-android/res/drawable/seekbar_thumb.xml
index c980144..ee3b665 100644
--- a/vlc-android/res/drawable/seekbar_thumb.xml
+++ b/vlc-android/res/drawable/seekbar_thumb.xml
@@ -1,6 +1,6 @@
<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>
diff --git a/vlc-android/res/layout-land/equalizer.xml b/vlc-android/res/layout-land/equalizer.xml
index a7769c3..147d9f3 100644
--- a/vlc-android/res/layout-land/equalizer.xml
+++ b/vlc-android/res/layout-land/equalizer.xml
@@ -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
diff --git a/vlc-android/res/layout-land/player_remote_control.xml b/vlc-android/res/layout-land/player_remote_control.xml
index 8769fd0..741e06d 100644
--- a/vlc-android/res/layout-land/player_remote_control.xml
+++ b/vlc-android/res/layout-land/player_remote_control.xml
@@ -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"
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 24a9caa..766c09a 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -139,6 +139,7 @@
android:paddingLeft="16dip"
android:paddingRight="16dip"
android:progressDrawable="@drawable/po_seekbar"
+ android:splitTrack="false"
android:thumb="@drawable/seekbar_thumb" />
<TextView
diff --git a/vlc-android/res/layout/equalizer.xml b/vlc-android/res/layout/equalizer.xml
index fecfa65..dd18dc2 100644
--- a/vlc-android/res/layout/equalizer.xml
+++ b/vlc-android/res/layout/equalizer.xml
@@ -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"
diff --git a/vlc-android/res/layout/equalizer_bar.xml b/vlc-android/res/layout/equalizer_bar.xml
index 6aeb6c9..ac90eff 100644
--- a/vlc-android/res/layout/equalizer_bar.xml
+++ b/vlc-android/res/layout/equalizer_bar.xml
@@ -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"
diff --git a/vlc-android/res/layout/player_hud.xml b/vlc-android/res/layout/player_hud.xml
index 437e980..02403d8 100644
--- a/vlc-android/res/layout/player_hud.xml
+++ b/vlc-android/res/layout/player_hud.xml
@@ -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
diff --git a/vlc-android/res/layout/player_remote_control.xml b/vlc-android/res/layout/player_remote_control.xml
index 43beb0b..8f9d60d 100644
--- a/vlc-android/res/layout/player_remote_control.xml
+++ b/vlc-android/res/layout/player_remote_control.xml
@@ -144,6 +144,7 @@
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:progressDrawable="@drawable/po_seekbar"
+ android:splitTrack="false"
android:thumb="@drawable/seekbar_thumb" />
<LinearLayout
diff --git a/vlc-android/res/layout/vlcwidget.xml b/vlc-android/res/layout/vlcwidget.xml
index 025d2cc..80ad5a9 100644
--- a/vlc-android/res/layout/vlcwidget.xml
+++ b/vlc-android/res/layout/vlcwidget.xml
@@ -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
--
2.1.0
More information about the Android
mailing list