Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android L Ripple Effect-How to disable ripple effect of a thumb on my seekbar?

I am design my custom seekbar . And I want to make the thumb transparent , but it still has ripple effect . Anybody has some advise ?

like image 923
Sinyuk Avatar asked Jul 23 '15 00:07

Sinyuk


People also ask

How do I get rid of ripple effect?

The animation of ripples can be disabled by using the animation global option. If the enterDuration and exitDuration is being set to 0 , ripples will just appear without any animation.

How to handle SeekBar in android?

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys. Placing focusable widgets to the left or right of a SeekBar is discouraged. Clients of the SeekBar can attach a SeekBar.


1 Answers

set android:background="@null" This should turn off the ripple effect for the seekbar.

like image 127
user3018476 Avatar answered Oct 18 '22 19:10

user3018476