我正在尝试在Android上创建一个形状的“填充”动画。它应该开始完全不可见,然后逐渐从底部“填充”如下图所示:
我要特别动画的是像这样的圆形:
![enter image description here](https://istack.dev59.com/fvhMS.webp)
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid
android:color="#666666"/>
<size
android:width="120dp"
android:height="120dp"/>
</shape>
我已经查看了AlphaAnimation、RotateAnimation、ScaleAnimation和TranslateAnimation(Animation的子类),但是我找不到一种使用它们的方法来实现这个功能。