How to make segmented seekbar/slider look like following?

后端 未结 3 1428
借酒劲吻你
借酒劲吻你 2020-12-28 21:59

I was wondering if anyone can provide hint or source to achieve following slider widget used in \"Circle – Who\'s Around?\" This is the first time I have ever came across th

3条回答
  •  醉酒成梦
    2020-12-28 22:36

    @Giulio thank you for your post, I have the same problem as Ron Eskinder. I heve fixed it by removing :"custom:color" , "custom:textsize" and "custom:multiline" in xml file. then in Java I put this:

    mSeekBar =  (ComboSeekBar) findViewById(R.id.seekbar);
    List seekBarStep = Arrays.asList("All","1","5","10","20");
    mSeekBar.setAdapter(seekBarStep);
    

    Hope this will help

提交回复
热议问题