[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-10 Thread B.Arunkumar
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

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-10 Thread skink
B.Arunkumar wrote: 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

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-08 Thread B.Arunkumar
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?

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-08 Thread skink
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

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-07 Thread skink
B.Arunkumar wrote: Hi, Is it possible to have the seekbar move only when the thumb is moved. Right now the seekbar moves even on finger touch in the progressdrawable. How do we disable the movement of the seekbar on finger touch of the progressdrawable? Thank you, B.Arunkumar i dint

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-07 Thread B.Arunkumar
Hi, No. You must have noticed that the seekbar can be moved by either dragging the thumb or tapping anywhere on the progressdrawable. Now I want to disable the movement of the thumb when the progressdrawable is touched. How do I do it? Thank you, B.Arunkumar On Jan 7, 4:17 pm, skink

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-07 Thread skink
B.Arunkumar wrote: Hi, No. You must have noticed that the seekbar can be moved by either dragging the thumb or tapping anywhere on the progressdrawable. Now I want to disable the movement of the thumb when the progressdrawable is touched. How do I do it? only by extending SekekBar

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-07 Thread B.Arunkumar
Hi, I presume this is the link that you are referring to: http://www.devdaily.com/java/jwarehouse/android/core/java/android/widget/AbsSeekBar.java.shtml But I still don't understand how you can detect if the seekbar thumb was touched or the progressdrawable was touched? Caould you give me

[android-developers] Re: Prevent seekbar from moving on tapping

2012-01-07 Thread skink
you could for example check thumb drawable bounds (they are updated when a thumb moves left/right) 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