Animated app(Launcher) icon

I need to implement animated app(launcher) icon like facebook, instagram, whatsapp etc in android .

My target version is 26

minSdkVersion 15
targetSdkVersion 26

ic_launcher.xml

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_app_background"/>
<foreground android:drawable="@mipmap/ic_app_foreground"/>
</adaptive-icon>

If anybody know please help me to do the same.