Dragger android 的Activity切换动画大全

Dragger android 的Activity切换动画大全,android大部分activity切换动画效果这里面都有,使用也挺简单
自定义DraggerView,其中提供左边进入,右边进入,上边进入,下边进入等一些动画效果。
项目来自:www.itlanbao.com

public void onItemClick(int position) {
    switch (position) {
      case 0:
        startDraggerActivity(DraggerPosition.LEFT);
        break;
      case 1:
        startDraggerActivity(DraggerPosition.RIGHT);
        break;
      case 2:
        startDraggerActivity(DraggerPosition.TOP);
        break;
      case 3:
        startDraggerActivity(DraggerPosition.BOTTOM);
        break;
      case 4:
        startActivityNoAnimation(new Intent(this, PanelActivity.class));
        break;
      case 5:
        startActivityNoAnimation(new Intent(this, DraggingActivity.class));
        break;
      case 6:
        startActivityNoAnimation(new Intent(this, EditTextActivity.class));
        break;
      case 7:
        startActivityNoAnimation(new Intent(this, ActivityListActivity.class));
        break;
      case 8:
        startActivityNoAnimation(new Intent(this, LazyActivity.class));
        break;
      default:
        break;
    }
  }

运行效果:

  • Dragger android 的Activity切换动画大全_第1张图片


效果源码:http://www.itlanbao.com/code/20151210/10000/100687.html


你可能感兴趣的:(android,android,ListView,GridView,特效,menu)