| <?xml version="1.0" encoding="utf-8"?> |
| <com.airbnb.lottie.samples.views.InterceptingFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/containerView" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <com.airbnb.lottie.LottieAnimationView |
| android:id="@+id/animationView" |
| android:layout_width="256dp" |
| android:layout_height="256dp" |
| app:lottie_url="https://raw.githubusercontent.com/airbnb/lottie-android/master/LottieSample/src/main/res/raw/bullseye.json" |
| app:lottie_autoPlay="true" |
| app:lottie_loop="true" |
| android:layout_gravity="center"/> |
| |
| <com.airbnb.lottie.samples.views.BackgroundColorView |
| android:id="@+id/targetView" |
| android:layout_width="16dp" |
| android:layout_height="16dp" |
| android:background="#00ddff" |
| android:layout_gravity="center"/> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="bottom|center_horizontal" |
| android:layout_marginBottom="8dp" |
| android:text="@string/bullseye_drag_dot" |
| android:textColor="@color/text_color"/> |
| |
| </com.airbnb.lottie.samples.views.InterceptingFrameLayout> |