简体   繁体   English

Android在FAB上展示动画以启动新活动

[英]Android reveal animation on FAB to launch a new activity

I am trying to create a reveal animation on a Floating Action Button, so that when clicked it animates and starts a new activity. 我正在尝试在“浮动动作按钮”上创建一个显示动画,以便在单击它时可以设置动画并开始新的活动。 I haven't had any luck on finding a tutorial on how to do this specifically. 我没有找到关于如何具体执行此操作的任何运气。

You can try a third party library like for example: https://github.com/sergiocasero/RevealFAB . 您可以尝试使用第三方库,例如: https : //github.com/sergiocasero/RevealFAB This library is made for the purpose of your question and is easy to use. 该库是针对您的问题而编写的,易于使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM