There is a library called Mini Equalizer Library for Android that provides this functionality.

You need to add a view to your layout:
<es.claucookie.miniequalizerlibrary.EqualizerView
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/equalizer_view"
android:layout_width="30dp"
android:layout_height="30dp"
custom:foregroundColor="@color/link_text_material_light"
custom:animDuration="3500"/>
, :
EqualizerView equalizer = (EqualizerView) findViewById(R.id.equalizer_view);
equalizer.animateBars();
equalizer.stopBars();
, AndroidVuMeter, , , .

.
<io.gresse.hugo.vumeterlibrary.VuMeterView
android:layout_width="300dp"
android:layout_height="300dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:paddingBottom="40dp"
android:id="@+id/vumeter"
vumeter:stopSize="5dp"
vumeter:speed="10"
vumeter:blockNumber="5"
vumeter:blockSpacing="20dp"
vumeter:backgroundColor="#33b5e5"
vumeter:startOff="false"/>