I want to hide bar and only want to show thumb. I did it with max-height=0dip but it did not completely work. I also want to set text on thumb and create thumb with multiple
SeekBar seekbar = new SeekBar(context, attrs);
// ------------- custom thumb
//----- using resources
seekbar.setThumb(new BitmapDrawable(BitmapFactory.decodeResource(
context.getResources(), R.drawable.seekbar_progress_thumb)));
//----- or using shape drawable
ShapeDrawable thumb = new ShapeDrawable(new RectShape());
thumb.getPaint().setColor(Color.rgb(0, 0, 0));
thumb.setIntrinsicHeight(-80);
thumb.setIntrinsicWidth(30);
seekbar.setThumb(thumb);