-3

I have to make this kind of view, where a dot will display on semicircle based upon the score. I have the image of semicircle and the dot. Kindly help

Image

shaktisinghmoyal
  • 312
  • 1
  • 5
  • 14
  • Did you find something? I am searching for the same view. Maybe this one could help: https://github.com/Shinelw/ColorArcProgressBar – Cícero Moura Jan 26 '20 at 11:41

1 Answers1

3

Get your expectation oriented result from the folowing source link then you have to customize your own layout view

Source: https://github.com/anastr/SpeedView

https://www.simplifiedcoding.net/android-speedometer-tutorial/

Simple gauge view like speedmeter in android?

You have to use this way

Gradle file:

compile 'com.github.anastr:speedviewlib:1.1.7'

xml file:

<com.github.anastr.speedviewlib.SpeedView
        android:id="@+id/speedView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

in java Code:

SpeedView speedometer = findViewById(R.id.speedView);
speedometer.speedTo(60);

or

// move to 50 Km/s with loading Duration = 2 sec 
speedometer.speedTo(50, 2000);
Raja
  • 2,775
  • 2
  • 19
  • 31
  • It's not working, Automatically showing random movement , Not following given value, even if I'm setting 0, but pin moving MIN to MAX randomly. – Vishva Vijay Jun 28 '21 at 03:24