From ecca9e03d2632369df503ac537f81668290e7fc9 Mon Sep 17 00:00:00 2001 From: Trumeet Date: Thu, 3 Aug 2017 10:08:50 +0800 Subject: refactor: use gradle 2.3.3 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') 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()` -- cgit v1.2.3-70-g09d2