首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

代码设立seekbar中的thumb

2012-08-28 
代码设置seekbar中的thumbShapeDrawable thumb new ShapeDrawable( new RectShape() )?? thumb.getPain

代码设置seekbar中的thumb

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

热点排行