1<?xml version="1.0" encoding="utf-8"?> 2<com.airbnb.lottie.samples.views.InterceptingFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 android:id="@+id/containerView" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent"> 7 8 <com.airbnb.lottie.LottieAnimationView 9 android:id="@+id/animationView" 10 android:layout_width="256dp" 11 android:layout_height="256dp" 12 app:lottie_url="https://raw.githubusercontent.com/airbnb/lottie-android/master/LottieSample/src/main/res/raw/bullseye.json" 13 app:lottie_autoPlay="true" 14 app:lottie_loop="true" 15 android:layout_gravity="center"/> 16 17 <com.airbnb.lottie.samples.views.BackgroundColorView 18 android:id="@+id/targetView" 19 android:layout_width="16dp" 20 android:layout_height="16dp" 21 android:background="#00ddff" 22 android:layout_gravity="center"/> 23 24 <TextView 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:layout_gravity="bottom|center_horizontal" 28 android:layout_marginBottom="8dp" 29 android:text="@string/bullseye_drag_dot" 30 android:textColor="@color/text_color"/> 31 32</com.airbnb.lottie.samples.views.InterceptingFrameLayout>