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?
在布局文件中添加android:progressDrawable="@android:color/transparent"
just use
android:progressTint="@android/color:transparent"
it makes progress transparent.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.