代码设置seekbar中的thumb

ShapeDrawable thumb = new ShapeDrawable( new RectShape() ); 
  thumb
.getPaint().setColor( 0x00FF00 ); 
  thumb
.setIntrinsicHeight( 80 ); 
  thumb
.setIntrinsicWidth( 30 ); 
  mySeekBar
.setThumb( thumb ); 

你可能感兴趣的:(seekbar)