0

So im working on a app and i need to make a circle (clock) that when i move clock indicators changes some values. The idea is when i move the indicator with a finger the clock changes.

There is an example in the link bellow:

Example here

Thanks!!

1 Answers1

0

If I understood question correctly, you can use library like this https://github.com/bozapro/circular-slider-range . To actually update some TextView inside clock circle you can use something like:

((CrystalRangeSeekbar) findViewById(R.id.range_slider)).setOnRangeSeekbarChangeListener(new OnRangeSeekbarChangeListener() {
            @Override
            public void valueChanged(Number minValue, Number maxValue) {
                //Your code to change TextViews here
            }
        });
Nikita Shaposhnik
  • 997
  • 10
  • 13