Closed shruti-techindustan closed 2 years ago
Ray Speedometer I am using Ray speedometer and not able to change below points
I used sv_markWidth= "10dp"
To
XML & code <com.github.anastr.speedviewlib.RaySpeedometer android:id="@+id/raySpeedoMeter" android:layout_width="@dimen/_200sdp" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:sv_backgroundCircleColor="@android:color/transparent" app:sv_cutPadding="0dp" app:sv_endDegree="360" app:sv_markColor="@color/grey_color" app:sv_markHeight="10dp" app:sv_maxSpeed="30" app:sv_minSpeed="16" app:sv_speedTextColor="@android:color/transparent" app:sv_speedTextPosition="BOTTOM_LEFT" app:sv_startDegree="180" app:sv_textColor="@android:color/transparent" app:sv_tickTextFormat="INTEGER" app:sv_unitTextSize="0dp" app:sv_unitUnderSpeedText="false" app:sv_withEffects="false" app:sv_withTremble="false" />
Screenshots I have attached the screenshot. Please check it.
To change mark width use sv_rayMarkWidth.
sv_rayMarkWidth
To change colors use Sections.
ok Thanks @anastr
Ray Speedometer I am using Ray speedometer and not able to change below points
I used sv_markWidth= "10dp"
To
XML & code <com.github.anastr.speedviewlib.RaySpeedometer android:id="@+id/raySpeedoMeter" android:layout_width="@dimen/_200sdp" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:sv_backgroundCircleColor="@android:color/transparent" app:sv_cutPadding="0dp" app:sv_endDegree="360" app:sv_markColor="@color/grey_color" app:sv_markHeight="10dp" app:sv_maxSpeed="30" app:sv_minSpeed="16" app:sv_speedTextColor="@android:color/transparent" app:sv_speedTextPosition="BOTTOM_LEFT" app:sv_startDegree="180" app:sv_textColor="@android:color/transparent" app:sv_tickTextFormat="INTEGER" app:sv_unitTextSize="0dp" app:sv_unitUnderSpeedText="false" app:sv_withEffects="false" app:sv_withTremble="false" />
Screenshots I have attached the screenshot. Please check it.