Ilya Gazman
Ilya Gazman

Reputation: 32211

Android: How to hide Seekbar progress?

The Seekbars got that blue progress indicator. In my case I just want to show a percentage progress in in a TextView, so I don't need it.

How can I hide the blue indicator for the Seekbar progress?

Upvotes: 7

Views: 3827

Answers (3)

Rohit Patil
Rohit Patil

Reputation: 1625

Create 2 drawables for bar background and progress background.

If you don't want to show progress view then just comment progress background syntax ( in the custom class file ) and

android:progressDrawable="@android:color/transparent" will do rest of the part for you

Upvotes: 0

San99comx
San99comx

Reputation: 21

just use

android:progressTint="@android/color:transparent"

it makes progress transparent.

Upvotes: 2

user840754
user840754

Reputation: 456

Add android:progressDrawable="@android:color/transparent" in the layout file

Upvotes: 17

Related Questions