0
私は現在、Android用AirBnBのLottie libraryで遊んでおり、LottieAnimationView
Zオーダーで問題が発生しています。かかわらず、私はRelativeLayout
の上部にLottieAnimationViewを置くかどうか、それは常にレイアウトEX内の他のすべての要素の一番上に表示されます。Lottie Animation Library Zご注文の問題
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/spacing_lrg"
tools:context="com.myapp.SplashActivity">
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/animation_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:lottie_fileName="test.json"/>
<! -- Other Elements that should appear on top of the background animation -->
</RelativeLayout>
私も0にLottieAnimationView
の標高を設定しようとしましたしかし、問題の修正には成功していません。誰にでもこれを解決する方法のアイデアがあるのですか、それとも単にライブラリの限界に過ぎないのでしょうか?また、それが限界であれば、何が原因ですか?