I'm trying to create an effect similar to what you see in the gif where there is play.
I do not know if you understand well but it seems a kind of ripple but done in a circular, such as the one on the videos of the app of youtube.
So I tried like this:
<LinearLayout
android:id="@+id/play_pause_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<ImageView
android:id="@id/exo_play"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/background_item_selected"
android:clickable="true"
android:contentDescription="@string/play"
android:focusable="true"
android:src="@drawable/ic_play_36dp" />
<ImageView
android:id="@id/exo_pause"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/background_item_selected"
android:clickable="true"
android:contentDescription="@string/pause"
android:focusable="true"
android:src="@drawable/ic_pause_36dp" />
</LinearLayout>
background_item_selected:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false">
<shape android:shape="oval">
<solid android:color="@color/colorAccent" />
</shape>
</item>
<item android:state_pressed="true">
<shape android:shape="oval">
<solid android:color="@android:color/transparent" />
</shape>
</item>
</layer-list>
But I can not get the desired effect.