百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

EnterAnimation

> 编程语言
开源

Android 入场/转场动画,入场动画效果集合,自定义view实现动画,百叶窗,擦除,盒状,阶梯,菱形效果,轮子,劈裂,棋盘,切入,扇形展开,十字扩展,随机线条,向内溶解,圆形扩展效果,适用于任何view和viewgroup,activity即用于页面根部的viewgroup,自定义viewgroup自动换行layo

400 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Android 入场/转场动画,入场动画效果集合,自定义view实现动画,百叶窗,擦除,盒状,阶梯,菱形效果,轮子,劈裂,棋盘,切入,扇形展开,十字扩展,随机线条,向内溶解,圆形扩展效果,适用于任何view和viewgroup,activity即用于页面根部的viewgroup,自定义viewgroup自动换行layo

EnterAnimation

android 仿ppt进入/退出/转场动画,入场/出场动画效果合集, 百叶窗效果,擦除效果,盒状效果,阶梯效果,菱形效果,轮子效果,劈裂效果,棋盘效果, 切入效果,扇形展开效果,十字扩展效果,随机线条效果,向内溶解效果,圆形扩展效果, 适用于各种view和viewgroup,activity即用于页面根部viewgroup, 自定义viewgroup自动换行layout, 看效果图

Series of entry/exit animation effects just like ppt in Android. There are effects of Blinds, Wipe, Box, Strips, Diamond, Wheel, Split, Checkerboard, Peek In, Wedge, Plus, Random Bars, Dissolve In, Circle. The Animation effects can apply to any View or ViewGroup. There is also a custom ViewGroup of auto linefeed called SimpleLineWrapLayout to layout the buttons. Please take a look at the images:

Attributes

There are several attributes you can set:

| attr 属性 | description 描述 | |:--- |:---| | isVisibleAtFirst | 进入页面时视图内容是否可见,默认可见 |

How to use

layout:

在需要显示动画效果的view或viewgroup的外层包一个EnterAnimLayout,然后在java中设置具体动画和控制开始播放动画;需要播放整个activity的话同理在最外层加一个EnterAnimLayout,然后在java中设置具体动画和控制开始播放动画

xml
        
            
                
                
                    
                    
                

            
        

java:

java
        enterAnimLayout = (EnterAnimLayout)  findViewById(R.id.anim_layout);
	    //oncreate中还并未获得view的具体尺寸,所以打开页面时延迟播放动画
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
			    //举例设置成百叶窗动画
                Anim anim = new AnimBaiYeChuang(enterAnimLayout);
                anim.startAnimation(2500);//开始播放动画,动画播放时长2500ms,默认2000
            }
        }, 1000);

Release Notes

[2.0.0] - 2023-02-03

Change

  • Support exit animations of kinds of effects #8 #7 #6 #2
  • Fix interrupting active animation #5

[1.0.0] - 2017-07-19

  • Support enter animations of kinds of effects

Issues· 3 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaandroidanimationauto-linefeedblinds

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言