我希望实现类似于这个的动画效果:
https://dribbble.com/shots/1767235-Rizon-Location-animation
并且在圆形中间有一张图片。
我知道需要使用缩放动画,在我的图片视图上我正在使用它:
<?xml version="1.0" encoding="utf-8"?>
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="1000"
android:fromXScale="1"
android:fromYScale="1"
android:pivotX="50%"
android:pivotY="50%"
android:repeatCount="infinite"
android:repeatMode="reverse"
android:toXScale="0.5"
android:toYScale="0.5" />
这会导致图像脉动,但如何显示和动画化图像周围的环(类似上面的动画)?有任何提示将会很有帮助。
谢谢!
Util.adjustAlpha(mColor, 0.4f)
中你做了什么? - esQmo_