views:

34

answers:

3

I'm currently using the following seekbar for showing my audio palying progress, i want to disable thumb movement by user

<Seekbar
android:padding="7dp"
android:id="@+id/SeekBar01"
android:layout_width="245dip"
android:thumb="@drawable/seekthumb2"
android:progressDrawable="@drawable/seekbar1"
android:layout_height="fill_parent"
android:clickable="false"
android:focusable="false"
android:longClickable="false"
/>

but it's not working.

A: 

Maybe u can use the normal Progressbar as an alternative

Marco Schmid
+1  A: 

Try to add android:enabled="false"

yuku
Audio.setEnabled("false"); //Working
Sudeep SR
A: 

You can also use a transparent png as a thumb. If none of the suggested solutions work.