2017-04-03 5 views
1

lottie 파일을 애니메이션 용도로 사용하고 있습니다. 예상대로로드되지 않습니다. 그것은이 http://www.lottiefiles.com/48-progress-bar로또 애니메이션이 예상대로 작동하지 않습니다.

현재 상태 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

@ 헨리 레이아웃을 추가했습니다. –

답변

1

당신이하고있는 것에는 아무런 문제가 없습니다. Lottie는 꽤 사용하기 쉽습니다. 불행히도 progress_bar.json에 문제가 있습니다.

디자이너와 연락을 시도해보고 문제를 해결할 수 있습니다.

관련 문제