An animating check mark
Add a CheckView
to your layout
<cdflynn.android.library.checkview.CheckView
android:id="@+id/check"
android:layout_width="200dp"
android:layout_height="200dp"
app:checkView_strokeColor="@color/green"
app:checkView_strokeWidth="@dimen/check_stroke_width"/>
Note that you can specify a stroke width and color with xml attributes checkView_strokeWidth
and checkView_strokeColor
respectively.
Call check()
:
mCheckView.check();
Add jitpack to your root build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add as a dependency
dependencies {
implementation 'com.github.cdflynn:checkview:v1.2'
}