Reputation: 32211
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
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
Reputation: 21
just use
android:progressTint="@android/color:transparent"
it makes progress transparent.
Upvotes: 2
Reputation: 456
Add android:progressDrawable="@android:color/transparent"
in the layout file
Upvotes: 17