1<?xml version="1.0" encoding="utf-8"?> 2<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent"> 6 7 <Button 8 android:id="@+id/parse" 9 android:layout_width="wrap_content" 10 android:layout_height="wrap_content" 11 android:text="Parse"/> 12 13 <Button 14 android:id="@+id/setComposition" 15 android:layout_width="wrap_content" 16 android:layout_height="wrap_content" 17 android:layout_gravity="center_horizontal" 18 android:text="Set Composition"/> 19 20 <Button 21 android:id="@+id/play" 22 android:layout_width="wrap_content" 23 android:layout_height="wrap_content" 24 android:layout_gravity="end" 25 android:text="Play"/> 26 27 28 <com.airbnb.lottie.LottieAnimationView 29 android:id="@+id/animationView" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent" 32 app:lottie_autoPlay="false" 33 app:lottie_loop="true" /> 34 35</FrameLayout>