aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5c95772..da17b70 100644
--- a/README.md
+++ b/README.md
@@ -47,10 +47,11 @@ Beautiful animations and views from AOSP
android:background="@drawable/fp_illustration_enrollment"
android:backgroundTint="@color/fingerprint_indicator_background_resting" />
```
-
+ ```java
LoopAnimatedVectorDrawableCompat mFingerprintAnimator = new LoopAnimatedVectorDrawableCompat(AnimatedVectorDrawableCompat.create(this,
R.drawable.enrollment_fingerprint_isolated_animation));
fingerprintIsolated.setImageDrawable(mFingerprintAnimator.getDrawable());
+ ```
開始動畫: `mFingerprintAnimator.startIconAnimation()`