2017-04-03 11 views
1

私はlottieファイルを使用しています。期待どおりにロードされていません。これは、このhttp://www.lottiefiles.com/48-progress-barLottieのアニメーションが期待どおりに動作していません

現状https://www.dropbox.com/s/xgvj9pss2cauv37/device-2017-04-03-113913.mp4?dl=0

<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" 
    tools:context="com.icici.iciciappathon.checkout.PaymentSucessActivity" 
    android:background="@color/sky_blue"> 

    <com.airbnb.lottie.LottieAnimationView 
     android:id="@+id/animation_view" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     app:lottie_fileName="progress_bar.json" 
     app:lottie_loop="true" 
     app:lottie_autoPlay="true" 
     android:layout_centerInParent="true"/> 

</RelativeLayout> 

私が間違っているの何をどれアイデアのようにすべきですか?

+0

@Henry私のレイアウトを追加しました –

答えて

1

何をしているかに間違いはありません。 Lottieは使いやすいです。残念ながらprogress_bar.jsonに問題があります。

デザイナーと連絡を取ってみてください。多分問題を解決できます。

関連する問題