最近很多人对Fragment的动画很感兴趣,我就做个例子给大家看看。既然要做,我就做下面几类动画:弹入弹出动画:从“上下左右”进入,从“上下左右”弹出,当然,你怎么组合都可以。另外你也可以加一些透明度的变化,这就看你的发挥了。。。1.先写动画的xml文件做开发的都知道,在/res/anim/目录下,新建xml的动画文件,比如:fragment_slide_in_from_bottom.xml
<t...
分类:
移动开发 时间:
2014-10-17 15:36:02
阅读次数:
182
/**
?????*?设置装饰列表框状态
?????*?
?????*?@param?isOpen
?????*????????????是否打开
?????*?@param?hasAnimation
?????*????????????打开动...
分类:
其他好文 时间:
2014-10-14 17:40:59
阅读次数:
159
先上效果图:
先写Layout文件:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_paren...
分类:
移动开发 时间:
2014-08-06 19:04:22
阅读次数:
325