AnimationSet performance issue
<p>I started working with animation in Android and want to do it correctly. So, basically, I want to implement something like this:
<a href="https://i.stack.imgur.com/F7kRm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F7kRm.png" alt="enter image description here"></a></p>

<p>My code to do this:</p>

<p>frg_wave.xml</p>

<pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
         xmlns:tools="http://schemas.android.com/tools"
         android:id="@+id/content"
         android:layout_width="match_parent"
         android:layout_height="match_parent"&gt;

&lt;View
    android:id="@+id/wave_view1"
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:background="@drawable/wave_circle"
    android:layout_gravity="center"

    tools:alpha="0.2"
    /&gt;

&lt;View
    android:id="@+id/wave_view2"
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:background="@drawable/wave_circle"
    android:layout_gravity="center"
    /&gt;

&lt;View
    android:id="@+id/wave_view3"
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:background="@drawable/wave_circle"
    android:layout_gravity="center"
    /&gt;

&lt;View
    android:id="@+id/wave_view4"
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:layout_gravity="center"
    android:background="@drawable/wave_circle"
    /&gt;

&lt;View
    android:id="@+id/wave_view5"
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:layout_gravity="center"
    android:background="@drawable/wave_circle"
    /&gt;
</code></pre>

<p></p>

<p>and in Fragment I have</p>

<pre><code> private View mWave1;
private View mWave2;
private View mWave3;
private View mWave4;
private View mWave5;

private AnimatorSet setAnimation;



PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 10F);
PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 10F);
PropertyValuesHolder alpha = PropertyValuesHolder.ofFloat(View.ALPHA, 1F, 0.05F);

@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.frg_wave, container, false);
    mWave1 = view.findViewById(R.id.wave_view1);
    mWave2 = view.findViewById(R.id.wave_view2);
    mWave3 = view.findViewById(R.id.wave_view3);
    mWave4 = view.findViewById(R.id.wave_view4);
    mWave5 = view.findViewById(R.id.wave_view5);
    setupAnimatorSet();
    return view;
}

@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    setAnimation.start();
}

private void setupAnimatorSet(){
    setAnimation = new AnimatorSet();

    setAnimation.play(waveAnimation(mWave1));

    setAnimation.play(waveAnimation(mWave2)).after(1000L);

    setAnimation.play(waveAnimation(mWave3)).after(2000L);

    setAnimation.play(waveAnimation(mWave4)).after(3000L);

    setAnimation.play(waveAnimation(mWave5)).after(4000L);

}



private ObjectAnimator waveAnimation(View view){
    ObjectAnimator scaleAnimation =
            ObjectAnimator.ofPropertyValuesHolder(view, pvhX, pvhY, alpha);
    scaleAnimation.setRepeatCount(ValueAnimator.INFINITE);
    scaleAnimation.setDuration(5000L);
    return scaleAnimation;
}
</code></pre>

<p>and wave_circle.xml is</p>

<pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval"&gt;

&lt;solid android:color="@color/colorAccent"/&gt;
</code></pre>

<p></p>

<p>It seems to work fine but I enable GPU rendering and see that I have not very good implementation. I very close to limit, and if I add other animation (for example rotation of view) I'll be over the limit of 16 ms. 
<a href="https://i.stack.imgur.com/aSRj3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aSRj3.png" alt="enter image description here"></a></p>

<p>Does anyone know, what I'm doing wrong?
P.S I also tried to do with <code>android:hardwareAccelerated="true"</code> and it's not helped me a lot. </p>