Hi, I was unable to understand your idea but I have implemented it in a different way. You can get the current thumb position from OnSeekBarChangeListener using sk.getProgress(). This can be translated into LayoutParams depending on the width and max progress you set for the seekbar.From the seekbar.OnTouchListener() you can get the position of the current touch event as touching the thumb or progressdrawable.
Thank you, B.Arunkumar On Jan 9, 12:46 pm, skink <psk...@gmail.com> wrote: > On 9 Sty, 08:28, "B.Arunkumar" <awsnetworkrecor...@gmail.com> wrote: > > > Hi, > > > How do you check thumb drawable bounds? As far as I have tried out, > > I am able to get only the progressdrawable bounds as follows: > > > seekbar.getProgressDrawable().getBounds() > > > and I am currently finding no difference in this method when the thumb > > is moved or the progressDrawable is clicked? > > > Thank you, > >B.Arunkumar > > you have to check thumb drawable not progress drawable. > > see AbsSeekBar sources: > > http://www.netmite.com/android/mydroid/frameworks/base/core/java/andr... > > and search for mThumb - it's thumb drawable > > find a place where mThumb is left assigned and everything should be > clear what needs to be done > > pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en