![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android动画
文章平均质量分 84
czcdms
这个作者很懒,什么都没留下…
展开
-
android动画(1)各种动画简单代码与xml配置
1.代码 @Override public void onClick(View v) { // TODO Auto-generated method stub switch(v.getId()){ case R.id.btnAlphaAnimationByCode: { AlphaAnimation aa = new AlphaAnimation( 0,1);原创 2015-05-05 18:43:13 · 289 阅读 · 0 评论 -
android动画(2)自定义动画
public class CustomAnimation extends Animation { // 这个方法可以获得动画view的width,height,以及它父view的width @Override public void initialize(int width, int height, int parentWidth, int parentHeight) { //原创 2015-05-05 19:10:11 · 1105 阅读 · 0 评论 -
android动画(3)layout动画,layoutChanged动画及算定义它,ListViewActivity的Layout动画(代码和xm配置两种实现l)
1.layout切换动画 代码: 本示例是fragment切换.在它的oncreateView中public class LayoutAnimationFrgmt extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle s原创 2015-05-06 16:39:59 · 495 阅读 · 0 评论