[android-developers] Re: Prevent seekbar from moving on tapping
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/android/widget/AbsSeekBar.java
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home