当前位置: 首页 > 软件库 > 手机/移动开发 > >

lottie-android

授权协议 Apache-2.0 License
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 宋昕
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Lottie for Android, iOS, React Native, Web, and Windows

Get it on Google Play

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000:

Sponsors

Lottie is maintained and improved on nights and weekends. If you use Lottie in your app, please consider sponsoring it to help ensure that we can continue to improve the project we love.Click the sponsor button above to learn more

Lead Sponsors

View documentation, FAQ, help, examples, and more at airbnb.io/lottie

Download

Gradle is the only supported build configuration, so just add the dependency to your project build.gradle file:

dependencies {
  implementation 'com.airbnb.android:lottie:$lottieVersion'
}

The latest Lottie version is:

The latest stable Lottie-Compose version is:Click here for more information on Lottie-Compose.

Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.

Contributing

Because development has started for Lottie Compose, Gradle, and the Android Gradle Plugin will be kept up to date with the latest canaries. This also requires you to use Android Studio Canary builds. Preview builds can be installed side by side with stable versions.

  • 随着移动互联网的发展,越来越多的移动 APP 都会从交互视觉方面来提升用户体验,其中提供炫酷的动画效果是一个经常使用的方法。然而,众所周知,Android平台中的动画效果的实现一直以来都存在一些痛点,而这些痛点也给 Android平台应用上实现丰富动画效果带来了非常大的困难。本文将会提及一种更先进的动画框架,通过这个框架可以方便实现各种炫酷的动画效果,而且相比传统动画效果实现方法,有非常大的优势,

  • 0. 前言 你好,我是程序亦非猿,阿里资深无线开发工程师一枚。 自我在内网发布了一篇关于 Lottie 的原理分析的文章之后,就不断有同事来找我询问关于 Lottie 的各种东西,最近又有同事来问,就想着可能对大家也会有所帮助,就稍作处理后分享出来。 需要注意的是,这文章写于两年前,基本版本 2.0.0-beta3,虽然我看过最新版本,主要的类没有什么差别,不过可能还是会存在一些差异。 可以感受一

  • build.gradlefile:dependencies { compile 'com.airbnb.android:lottie:1.0.1' } lottie 支持 Jellybean (API 16) 及以上。最简单的使用方式是和LottieAnimationView一起使用: android:id="@+id/animation_view" android:layout_width="w

  • 看到这边文章,默认你已经懂得 lottie 库的基本使用了。不懂请移步官网。https://airbnb.design/lottie/ 我遇到的问题是需要修改动画的颜色。 比如在一个按钮的点击动效中,可能需要根据按钮的状态动态的修改动效的颜色,那么该怎么操作呢? 首先要明白在颜色绘制的两种类型:填充和描边,即我们在view 的绘制中的solid 和stroke 在bodymovin生成的json动

  • 看到这边文章,默认你已经懂得 lottie 库的基本使用了。不懂请移步官网。https://airbnb.design/lottie/ 我遇到的问题是需要修改动画的颜色。 比如在一个按钮的点击动效中,可能需要根据按钮的状态动态的修改动效的颜色,那么该怎么操作呢? 首先要明白在颜色绘制的两种类型:填充和描边,即我们在view 的绘制中的solid 和stroke 在bodymovin生成的json动

  • 参考地址 开源库地址

 相关资料
  • Lottie 是 Airbnb 开发的一款能够为原生应用添加动画效果的开源工具。Lottie 目前提供了 iOS, Android, 和 React Native 版本,能够实时渲染 After Effects 动画特效。 Android : https://github.com/airbnb/lottie-android iOS : https://github.com/airbnb/lotti

  • Lottie Animation View for Angular (React, Vue) Demo https://chenqingspring.github.io/ng-lottie/demo/ Renamed from lottie-angular2 after angular4 supported Wapper of bodymovin.js bodymovin is Adobe Aft

  • nativescript-community/ui-lottie NativeScript plugin to expose Airbnb Lottie for awesome animations. Changelog All notable changes to this project will be documented in the changelog. Demo Screen The

  • https://www.chunten.com/angpu/lottiefiles.html 这种动画是怎么制作出来的? 这种我之前一般是用adobe flash制作,后来用adobe animate制作,但我想弄成lottie动画: 像 把这个放到html里就可以看到动画了,但是flash和animate都不能实现,难道需要用adobe AE来制作吗??有没有具体的制作?可以直接生成这种动画js

  • 问题内容: 我正在尝试从一个发送客户类的对象,Activity然后在另一个对象中显示它Activity。 客户类的代码: 我想将其对象从一个对象发送Activity到另一个对象,然后在另一个对象上显示数据Activity。 我该如何实现? 问题答案: 一种选择是让你的自定义类实现该接口,然后可以使用该方法的变体在意图中额外传递对象实例。 伪代码:

  • 问题内容: 我很难找到最简单的方法来针对给定的JSON模式字符串验证JSON字符串(作为参考,这是在Java中运行在Android应用程序中)。 理想情况下,我只想传入JSON字符串和JSON模式字符串,并且它返回关于是否通过验证的布尔值。通过搜索,我发现了以下两个有前途的库可以完成此任务: http://jsontools.berlios.de/ https://github.com/fge/j