ShapeDrawable thumb = new ShapeDrawable( new RectShape() );
thumb.getPaint().setColor( 0x00FF00 );
thumb.setIntrinsicHeight( 80 );
thumb.setIntrinsicWidth( 30 );
mySeekBar.setThumb( thumb );
代码设置seekbar中的thumb
最新推荐文章于 2025-04-25 13:29:03 发布