Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lottie + Kotlin = <3

Lottie + Kotlin = <3

LIGHTNING TALK: Utilizando Lottie com Kotlin, é possível criar incríveis experiências no Android

Apresentado na Kotlin Night Cascavel #01 - 27/04/2018

Wellington Mitrut

April 27, 2018
Tweet

More Decks by Wellington Mitrut

Other Decks in Programming

Transcript

  1. Wellington Mitrut UI Engineer Co-Organizador @ GDG Cascavel / Kotlin

    Cascavel Blogueiro Musa Fitness Open Culture Cerveja Gatos
  2. O Lottie é uma biblioteca universal que processa animações do

    After Effects em tempo real e permite que animações sejam tão facilmente usadas e manipuladas quanto arquivos estáticos.
  3. <android.support.design.widget.FloatingActionButton android:id="@+id/button_pause" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_margin="10dp" android:layout_marginBottom="8dp" android:layout_marginEnd="8dp" android:layout_marginStart="8dp" android:layout_marginTop="8dp"

    app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.28" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/animation_view" app:layout_constraintVertical_bias="0.502" app:srcCompat="@drawable/pause" /> - Criando nossos botões <android.support.design.widget.FloatingActionButton android:id="@+id/button_stop" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_margin="10dp" android:layout_marginBottom="8dp" android:layout_marginEnd="8dp" android:layout_marginStart="8dp" android:layout_marginTop="8dp" app:backgroundTint="@color/colorWhite" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.698" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/animation_view" app:layout_constraintVertical_bias="0.502" app:srcCompat="@drawable/stop" />