android 过渡动画_在Android上实现过渡动画

android 过渡动画

过渡动画 (TRANSITION ANIMATION)

A good animation makes your app user-friendly without distracting the user from the app itself. As of today, animations have become a functional element rather than decor acting like a cherry on top.

出色的动画效果可以使您的应用易于使用,而不会分散用户的注意力。 从今天起,动画已成为一种功能性元素,而不是像顶上的樱桃那样装饰。

Android provides its own default transitions when we start a new Activity or add a new Fragment. These transitions could be seen while entering and exiting a screen. But these are traditional transitions that can make your app look outdated.

当我们开始一个新的Activity或添加一个新的Fragment时,Android提供了自己的默认过渡。 在进入和退出屏幕时可以看到这些过渡。 但是这些是传统的过渡,可以使您的应用看起来过时。

Most of the time, there are certain elements that are common between two screens, and having the ability to transition between these shared elements would emphasize continuity in the overall flow of the application.

大多数时候,某些元素在两个屏幕之间是相同的,并且具有在这些共享元素之间进行转换的能力会强调应用程序总体流程的连续性。

In this article, we would be exploring shared element transitions between Activities and Fragments. This is a screenshot of the final product that we would be developing by the end of this article. (A GitHub repository for this sample app is available at the end of this article)

在本文中,我们将探讨活动和片段之间的共享元素过渡。 这是我们在本文末尾将要开发的最终产品的屏幕截图。 (本文末尾提供了此示例应用程序的GitHub存储库)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值