Skip to content

r3za13/Simple-SpeedView-Android

Repository files navigation

API

Simple-SpeedView-Android

Simple speedView widget for android

Adding widget:

<com.r3za.simplespeedview.SimpleSpeedView
        android:id="@+id/simpleSpeedView"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:has_start_animation="true"
        app:indicator_circle_radius="18dp"
        app:part_margin="0.5dp"
        app:parts_count="5"
        app:parts_width="46dp"
        app:progress="0" />

Attributes:

parts_count
part_margin
parts_width
progress
total_progress
indicator_circle_radius
has_start_animation
indicator_color

Setting progress:

simpleSpeedView.setViewProgress(myProgress)

About

Simple speedView widget for android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages