view.setOnTouchListener(new OnTouchListener(){
@Override
public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
//判断是向上滑动时
Intent intent = new Intent();
intent.setClass(this, RegistAct.class);
startActivity(intent);
overridePendingTransition(R.anim.top_out,R.anim.top_in);//用这个区控制
return true ;
}
});