2017-04-03 2 views
1

Ich verwende lottie Datei für Animationszwecke. Es wird nicht wie erwartet geladen. Es sollte https://www.dropbox.com/s/xgvj9pss2cauv37/device-2017-04-03-113913.mp4?dl=0Lottie Animation funktioniert nicht wie erwartet

<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> 

Jede Idee, was ähnliche http://www.lottiefiles.com/48-progress-bar

Aktueller Zustand sein, die ich falsch mache?

+0

@Henry Ich habe mein Layout hinzugefügt –

Antwort

1

Nichts ist falsch mit dem, was Sie tun. Lottie ist ziemlich einfach zu bedienen. Es gibt leider ein Problem mit der progress_bar.json.

Versuchen Sie, mit dem Designer in Kontakt zu treten und vielleicht kann er das Problem beheben.

Verwandte Themen